Explore the evolution of CPython's compiler in this 27-minute PyCon US talk. Delve into the refined compilation pipeline coming in version 3.13, which expands from the traditional 4-stage process to a more detailed 8-stage pipeline. Learn about the new stages, including optimized AST, pseudo bytecode, and optimized pseudo bytecode. Discover how these changes create new possibilities for CPython users, maintainers, and educators. Get introduced to Codoscope, a visualization tool that illustrates CPython's process of translating Python source code into executable code objects, providing valuable insights into the inner workings of the language.
Overview
Syllabus
Talks - Irit Katriel: CPython's Compilation Pipeline
Taught by
PyCon US