| commit | f05fb2e65c2dffdfae940f2707765c4994925205 | [log] [tgz] |
|---|---|---|
| author | Sam Gross <colesbury@gmail.com> | Fri Mar 29 13:33:04 2024 -0400 |
| committer | GitHub <noreply@github.com> | Fri Mar 29 13:33:04 2024 -0400 |
| tree | d856903be5f6ab281900fbc2a68ccf7c861ce802 | |
| parent | ddf95b5f16031cdbd0d728e55eb06dff002a8678 [diff] |
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.