Skip to main content

4 docs tagged with "execution-model"

View all tags

Execution Model in Practice - Source to Bytecode to PVM

How Python actually executes code - the complete 5-stage pipeline from source text through tokenization, AST, bytecode compilation, and the Python Virtual Machine. Covers stack frames, heap memory, .pyc files, import caching, LEGB scope, and the CPython GIL at engineering depth.