Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the inner workings of the Python interpreter in this 26-minute conference talk from EuroPython 2016. Dive into the CPython project structure, tracing the code from command line to interpreter. Examine the lexer, parser, and generation of Abstract Syntax Trees (AST) and bytecodes. Analyze bytecodes using the dis module and understand the stack-based virtual machine. Follow the interpreter's main loop and learn how CPython can be embedded in C projects. Discover optimization techniques like the peepholer and gain insights into the ceval.c file. Perfect for new contributors looking to understand CPython's internals, this talk provides a comprehensive overview of the Python interpreter's journey from source code to execution.
Syllabus
Introduction
Who is Stephane
Welcome
Schedule
Can we start
Dev Guide
Vital Mentors
Mailing List
How to contribute
How to find documentation
Documentation overview
A small tutorial
Another guy
For me
The common line
The python
The tokenizer
The compiler
Definition
Bite Cutter
Convert
Stack Machine
Small Interpreter
Bite Code Example
Biker
LoadFast
Concatenation
Store
Sleep
Frame
Summary
Python
Python Documentation
Taught by
EuroPython Conference