diff options
author | Sam Gross <colesbury@gmail.com> | 2024-03-29 17:33:04 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-29 17:33:04 (GMT) |
commit | f05fb2e65c2dffdfae940f2707765c4994925205 (patch) | |
tree | d856903be5f6ab281900fbc2a68ccf7c861ce802 /Python/executor_cases.c.h | |
parent | ddf95b5f16031cdbd0d728e55eb06dff002a8678 (diff) | |
download | cpython-f05fb2e65c2dffdfae940f2707765c4994925205.zip cpython-f05fb2e65c2dffdfae940f2707765c4994925205.tar.gz cpython-f05fb2e65c2dffdfae940f2707765c4994925205.tar.bz2 |
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/executor_cases.c.h')
0 files changed, 0 insertions, 0 deletions