CPython Architecture
The CPython source tree, the main evaluation loop, and how Python executes a .py file from disk to output.
The CPython source tree, the main evaluation loop, and how Python executes a .py file from disk to output.
Free-threaded Python, the specialising adaptive interpreter, immortal objects, sub-interpreters, and what changed in the 3.10–3.13 internals.
CPython's memory allocator layers, the pymalloc arena system, reference counting, cyclic GC generations, and how memory is actually freed.
PyObject layout, type objects, reference counting, small integer cache, string interning, and the cost of Python's dynamic type system.
What the GIL is, why it exists, how it works in CPython 3.12+, its performance impact, and the Python 3.13 free-threaded mode.