Skip to main content

3 docs tagged with "bytecode"

View all tags

Bytecode and the Compiler

How Python source becomes bytecode, the dis module, .pyc files, peephole optimisation, and writing a bytecode-level function.

CPython Architecture

The CPython source tree, the main evaluation loop, and how Python executes a .py file from disk to output.