Главная
Study mode:
on
1
Introduction
2
Who is Stephane
3
Welcome
4
Schedule
5
Can we start
6
Dev Guide
7
Vital Mentors
8
Mailing List
9
How to contribute
10
How to find documentation
11
Documentation overview
12
A small tutorial
13
Another guy
14
For me
15
The common line
16
The python
17
The tokenizer
18
The compiler
19
Definition
20
Bite Cutter
21
Convert
22
Stack Machine
23
Small Interpreter
24
Bite Code Example
25
Biker
26
LoadFast
27
Concatenation
28
Store
29
Sleep
30
Frame
31
Summary
32
Python
33
Python Documentation
Description:
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.

Exploring Our Python Interpreter

EuroPython Conference
Add to list
0:00 / 0:00