Object Life Cycle — Python 3.16.0a0 documentation

docs.python.org

Tin mới

Allocating objects on the heap

Common Object Structures

Python Module Index

3.16.0a0 Documentation

Python/C API reference manual

Object Implementation Support

Type Object Structures

This section explains how a type’s slots relate to each other throughout the life of an object. It is not intended to be a complete canonical reference for the slots; instead, refer to the slot-specific documentation in

Cyclic Isolate Destruction¶

Reachable (not yet a cyclic isolate): All objects are in their normal, reachable state. A reference cycle could exist, but an external reference means the objects are not yet isolated.