01Chapter 1: Names, objects, and identityThis chapter assumes basic Python syntax, including functions, classes, lists, and dictionaries. You should also know how to run a Python script or use the interactive interpreter. The examples assume CPython, the usual Python implementation.1 min read
02Chapter 2: Reference cycles and the cyclic garbage collectorAssume you know basic Python syntax, classes, lists, dictionaries, and how CPython runs a script. This chapter focuses on objects that refer to one another and on practical memory measurements.2 min read
03Chapter 3: Reducing per-instance memory with __slots__This chapter assumes basic Python syntax, classes, collections, and running CPython scripts. It focuses on practical ways to reduce memory use and investigate objects that remain alive unexpectedly.2 min read