PyGC_Head#

class einspect.structs.py_gc.PyGC_Head#

Defines the PyGC_Head Structure.

GC information is stored BEFORE the object structure. https://github.com/python/cpython/blob/3.11/Include/internal/pycore_gc.h#L11-L20

as_ref()#

Return a pointer to the Structure.

Return type:

<object object at 0x7fd11384d530>

class einspect.structs.py_gc.PyGC(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)#

Bit flags for _gc_prev