The Canon / reading

What to read about Python in general

Is the canon enough — and what each outside source covers if it is not.

The question this page settles: is the canon enough. The answer depends on what for. The canon answers “why is the language the way it is”; it does not answer “how do I write this piece of code nicely”, does not cover the standard library and does not replace experience. Below is what is worth reading next, arranged by which question each source closes, not by ratings.

One selection principle. Primary sources come first. The documentation and the PEPs are free, precise and written by the people who made the decisions; almost any article about Python is a lossy retelling of them. Books are needed where the primary source does not give coherence: it describes what, not in what order to fit it into your head.

1Primary sources

All free, all precise, and almost none of it is read in full — which is a pity.

Language Reference → Data modeldocs.python.org · free
The one document worth reading in full and not by skimming. It is the specification of the object model: what an object is, what slots it has, what each dunder is obliged to do. Everything marked 🔒 in the canon comes from here. Read it after R1 and R4 — before them the text looks like a list, after them like a system.
Descriptor HowTo Guidedocs.python.org · free
Raymond Hettinger takes descriptors apart with pure-Python implementations of property, classmethod and staticmethod. The best existing text on the subject, and also the shortest. A direct continuation of chapter 04.
Execution modeldocs.python.org · free
Four pages on scopes, name binding, and why nonlocal was needed at all. It answers half the questions people usually ask about closures.
The official description of how the interpreter is built: the compiler, the object model at the C level, the garbage collector. Written for people who are going to change CPython, so there are no popularizing simplifications — and for the same reason it is heavy going in places. Read selectively, for a specific question.
PEPs, not retellings of PEPspeps.python.org · free
A unique property of a PEP: it has a “Rejected ideas” section and the motivation. No book says why it was decided exactly this way. The minimal set for this canon: 393 strings, 412 shared keys, 442 finalization, 484 types, 492 async/await, 525 asynchronous generators, 563 postponed annotations, 659 specialization, 703 free-threading.
The CPython sourcesgithub.com · tag v3.11.15
Not “read the code” but read the comments at the top of the files: they are written as design documentation. dictobject.c explains the compact layout better than any article, listobject.c the growth pattern, obmalloc.c arenas and pools. About forty lines each.

2Books

Four of them. No more are needed: the rest either repeat these or teach syntax.

Fluent Python, 2nd ed.Luciano Ramalho · 2022 · ~1000 pp.
The closest relative of this canon and the best complement to it. The overlap is large — the object model, protocols, descriptors, coroutines — but the angle is different: Ramalho starts from how to write, the canon from why it is built this way. What he has and this does not: a detailed tour of the standard library, concurrency at the level of recipes, metaprogramming as a working technique. The second edition was rewritten for 3.10; the first (2015) is badly out of date — take only the second.
CPython InternalsAnthony Shaw · 2021 · Python 3.9
The only book that walks the reader through the interpreter's sources in order: building from source, the lexer, the parser, the compiler, the evaluation loop, objects, memory, the GIL. If after the L3 level in the chapters you want not separate spots but a continuous pass, this is it. Version 3.9: the 3.11 specialization and the 3.13 JIT did not make it in; everything else is current.
Python DistilledDavid Beazley · 2021 · ~350 pp.
The language without padding: Beazley threw out everything you can look up in the documentation and kept the model. Useful as a cross-check — if after the canon some chapter of Distilled reads as obvious, the topic is closed. Thin and fast.
High Performance Python, 3rd ed.Gorelick & Ozsvald · 2025
Chapter 21 continued at book scale: profiling, numpy, Cython, clusters, the “when to rewrite” question. The third edition came out in 2025 and takes 3.11–3.13 into account, which matters a great deal here — the previous edition gave advice that became obsolete along with its version.

3Talks and articles

Things worth watching and reading in full rather than through search.

Understanding the Python GILDavid Beazley · PyCon 2010 · 46 min
The talk after which people started talking about the GIL precisely. On an oscillogram Beazley shows that under CPU load two threads run slower than one, and explains why. Fifteen years later the switching mechanism is different, and the analysis is still the best. Watch after chapter 19.
Python behind the scenesVictor Skvortsov · tenthousandmeters.com · series
Fifteen long articles on CPython internals: the evaluation loop, objects, attributes, the GIL, import, async. In depth between the devguide and Shaw's book, in presentation better than both. Free and illustrated.
Faster CPython, LWN reportsLWN.net · since 2021
LWN writes about CPython development from the inside: what was discussed at the language summits, what was not accepted and for what reasons. The only way to see the core developers' reasoning without reading the mailing lists.
Python 3.13 gets a JITAnthony Shaw · 2024
The clearest explanation of the copy-and-patch JIT and how it relates to the specialization from 3.11. A direct continuation of chapter 21.

4What not to read

Not out of snobbery, but because it does active harm — it gives a false sense of understanding.

How to tell you do not need to read further. A simple test: take any claim from the “guarantee or detail” registry and explain where it comes from without peeking. If you can do it for most rows, the next step is not reading but writing code and measuring. The canon closes the “why” question; after that the questions become specific, and they are answered by the documentation, not by the next book.

Written by · The Python Canon