aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/bytecodes.c
diff options
context:
space:
mode:
authorSam Gross <colesbury@gmail.com>2024-03-29 13:33:04 -0400
committerGitHub <noreply@github.com>2024-03-29 13:33:04 -0400
commitf05fb2e65c2dffdfae940f2707765c4994925205 (patch)
treed856903be5f6ab281900fbc2a68ccf7c861ce802 /Python/bytecodes.c
parentddf95b5f16031cdbd0d728e55eb06dff002a8678 (diff)
downloadcpython-f05fb2e65c2dffdfae940f2707765c4994925205.tar.gz
cpython-f05fb2e65c2dffdfae940f2707765c4994925205.zip
gh-112529: Don't untrack tuples or dicts with zero refcount (#117370)
The free-threaded GC sometimes sees objects with zero refcount. This can happen due to the delay in merging biased reference counting fields, and, in the future, due to deferred reference counting. We should not untrack these objects or they will never be collected. This fixes the refleaks in the free-threaded build.
Diffstat (limited to 'Python/bytecodes.c')
0 files changed, 0 insertions, 0 deletions