CPython’s internals¶
This guide describes the basics of CPython’s internals. It explains the layout of CPython’s source code. It also explains how the parser, compiler, and interpreter work together to run your Python code. Finally, it covers the garbage collector and how it manages memory.