2. Objects and Memory

The Python object model, PyObject and PyVarObject layout, reference counting, the garbage collector, memory allocators, and built-in type implementations.

11 items

Chapter Title
7 The Python Object Model
8 PyObject and PyVarObject
9 Reference Counting
10 The Garbage Collector
11 Memory Allocators
12 Object Layout and Type Slots
13 Built-in Object Implementations
14 Strings, Bytes, and Unicode
15 Lists, Tuples, and Arrays
16 Dictionaries and Sets
17 Integers, Floats, and Complex Numbers