mirror of
https://github.com/python/cpython.git
synced 2026-06-22 19:12:50 -04:00
d66c08aa75
In the free threading build, the per thread reference counting uses a unique id for some objects to index into the local reference count table. Use 0 instead of -1 to indicate that the id is not assigned. This avoids bugs where zero-initialized heap type objects look like they have a unique id assigned.
Source files for various builtin objects