Skip to content
UPEEC

Bytecode, dis and the CPython Interpreter

CPython compiles source to bytecode and runs it in a virtual machine.

Expert
Comments 0

dis.dis(func) shows the bytecode; recent versions add a specialising adaptive interpreter and an experimental JIT.

Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.

Discussion (0)

Sign in or join free to ask questions and discuss this topic.