mirror of
https://github.com/python/cpython.git
synced 2026-06-05 02:57:28 -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.