mirror of
https://github.com/python/cpython.git
synced 2026-01-28 05:35:31 +00:00
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.
Miscellaneous source files for the main Python shared library