Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork34.2k
gh-144475: Fix a heap buffer overflow in partial_repr#144571
gh-144475: Fix a heap buffer overflow in partial_repr#144571bkap123 wants to merge 231 commits intopython:mainfrom
Conversation
python-cla-botbot commentedFeb 7, 2026 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
The following commit authors need to sign the Contributor License Agreement: |
Most changes to Pythonrequire a NEWS entry. Add one using theblurb_it web app or theblurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
picnixz commentedFeb 7, 2026 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Please:
|
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
picnixz commentedFeb 7, 2026 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
By the way,@dr-carlos already suggested to open a PR. It is polite to ask them if they want to contribute themselves. As such, I'm going to close this one unless they are fine with you making the PR (we don't really want people "sniping" work of others) |
bkap123 commentedFeb 7, 2026
Thanks for the feedback. I missed that@dr-carlos suggested to fix it. I’m happy to close this PR if@dr-carlos is already working on it. |
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
dr-carlos commentedFeb 7, 2026
Hi, thanks for asking! |
Uh oh!
There was an error while loading.Please reload this page.
bkap123 commentedFeb 8, 2026 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Here are the changes I made:
|
… Segment (pythonGH-145216)Remove the tp_clear slots and make Segment members read-only.Also add tests for reference loops involving GraphemeBreakIteratorand Segment.
…ythonGH-145250)It occurs in a code which perhaps never executed.
…ions (pythonGH-144824)Co-authored-by: Sergey Miryanov <sergey.miryanov@gmail.com>Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
…thon#145304)Co-authored-by: Adam (indoor47) <adamai@agentmail.to>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Remove PyThread_type_lock (now uses PyMutex internally).Add new benchmark options:- work_inside/work_outside: control work inside and outside the critical section to vary contention levels- num_locks: use multiple independent locks with threads assigned round-robin- total_iters: fixed iteration count per thread instead of time-based, useful for measuring fairness- num_acquisitions: lock acquisitions per loop iteration- random_locks: acquire random lock each iterationAlso return elapsed time from benchmark_locks() and switch lockbench.py to use argparse.
…h item (python#145282)Co-authored-by: Bartosz Sławecki <bartosz@ilikepython.com>
Co-authored-by: Pieter Eendebak <pieter.eendebak@gmail.com>---------Co-authored-by: Pieter Eendebak <pieter.eendebak@gmail.com>
Uh oh!
There was an error while loading.Please reload this page.