gc — Garbage Collector interface — Python 3.16.0a0 documentation

docs.python.org

Tin mới

__future__ — Future statement definitions

inspect — Inspect live objects

Python Module Index

3.16.0a0 Documentation

The Python Standard Library

Python Runtime Services

PyTypeObject.tp_traverse

Raises an auditing event gc.get_referents with argument objs.

interpreter shutdown

Changed in version 3.2: If this list is non-empty at interpreter shutdown, a ResourceWarning is emitted, which is silent by default. If DEBUG_UNCOLLECTABLE is set, in addition all uncollectable objects are printed.