mirror of
https://github.com/python/cpython.git
synced 2026-05-17 09:58:25 -04:00
d08b4c4524
This patch modifies the type structures of objects that participate in GC. The object's tp_basicsize is increased when GC is enabled. GC information is prefixed to the object to maintain binary compatibility. GC objects also define the tp_flag Py_TPFLAGS_GC.