https://github.com/python/cpython
Revision f05fb2e65c2dffdfae940f2707765c4994925205 authored by Sam Gross on 29 March 2024, 17:33:04 UTC, committed by GitHub on 29 March 2024, 17:33:04 UTC
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.
1 parent ddf95b5
History
Tip revision: f05fb2e65c2dffdfae940f2707765c4994925205 authored by Sam Gross on 29 March 2024, 17:33:04 UTC
gh-112529: Don't untrack tuples or dicts with zero refcount (#117370)
Tip revision: f05fb2e
File Mode Size
Tokens -rw-r--r-- 1.6 KB
python.gram -rw-r--r-- 63.0 KB

back to top