aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/gc_free_threading.c
diff options
context:
space:
mode:
authorSam Gross <colesbury@gmail.com>2025-02-26 14:55:15 -0500
committerGitHub <noreply@github.com>2025-02-26 14:55:15 -0500
commit45bc120d4504bff215938bca3f1d08cee2ed7a91 (patch)
treea8b6b398da6fb4f77ac542eed7ad61089a1e074b /Python/gc_free_threading.c
parent5c8e8704c39110da15956b0678303aff7dffb3be (diff)
downloadcpython-45bc120d4504bff215938bca3f1d08cee2ed7a91.tar.gz
cpython-45bc120d4504bff215938bca3f1d08cee2ed7a91.zip
gh-130519: Fix crash in QSBR when destructor reenters QSBR (gh-130553)
The `free_work_item()` function in QSBR may call arbitrary code via Python object destructors, which may reenter the QSBR code. Reorder the processing of work items to be robust to reentrancy. Also fix the TODO for the out of memory situation.
Diffstat (limited to 'Python/gc_free_threading.c')
0 files changed, 0 insertions, 0 deletions