Overview
Embark on a 30-minute journey into the inner workings of CPython in this EuroPython 2021 conference talk. Discover how to break down and reassemble Python's core implementation, gaining valuable insights into its internals. Explore the interpretation process, examine the underlying structure of everyday modules and types, and learn how to add new functionality to Python. Gain the confidence to create your first C-based extension module, with guidance provided for those unfamiliar with C programming. Uncover the secrets behind Python's behavior, build your own version of the language, and demystify concepts like Pi objects, lists, and codepets. By the end of this talk, feel empowered to contribute to CPython and write Python C extensions with newfound understanding and expertise.
Syllabus
Introduction
Fear of missing out
Code of strange behavior
CPython Files
Build your own Python
C Python
Is Python Simple
The most important thing
GDB
Pi Object
Lists
Codepets
Conference ready
Questions
Taught by
EuroPython Conference