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
|
The following commit authors need to sign the Contributor License Agreement: |
|
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
|
Please:
|
|
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) |
|
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 <[email protected]>
Hi, thanks for asking! |
|
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 GraphemeBreakIterator and Segment.
…ythonGH-145250) It occurs in a code which perhaps never executed.
…ions (pythonGH-144824) Co-authored-by: Sergey Miryanov <[email protected]> Co-authored-by: Peter Bierma <[email protected]>
…thon#145304) Co-authored-by: Adam (indoor47) <[email protected]>
Co-authored-by: Hugo van Kemenade <[email protected]>
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 iteration Also return elapsed time from benchmark_locks() and switch lockbench.py to use argparse.
…h item (python#145282) Co-authored-by: Bartosz Sławecki <[email protected]>
Co-authored-by: Pieter Eendebak <[email protected]> --------- Co-authored-by: Pieter Eendebak <[email protected]>
Uh oh!
There was an error while loading. Please reload this page.