Demystifying Python’s Internals - presented by Sebastiaan Zeeff

  Рет қаралды 4,763

EuroPython Conference

EuroPython Conference

Күн бұрын

EuroPython 2022 - Demystifying Python’s Internals: Diving into CPython by implementing a pipe operator - presented by Sebastiaan Zeeff
[The Auditorium on 2022-07-15]
Diving into the CPython source code can feel daunting. Whether you want to start contributing or just want to get a better understanding of Python by exploring its source code, it’s often difficult to know where to start or what you’re missing.
In my talk, I will show you around the CPython source code by implementing a new operator, a pipe operator. While doing so, I will discuss core parts of the internals, such as Python’s grammar, its syntax trees, and the underlying logic that will perform the operation. By the end, you will have a good idea of the moving parts involved in core language features.
I will also take you through the steps necessary to make it all work. I’ll show you how I obtained a copy of the source code, regenerated the parser and token files, and how I compiled my modified version of CPython. I will also write and run tests to help me implement my changes. This should give you a mental framework that helps you while diving into more comprehensive resources, like the excellent Python Developer’s Guide (devguide.pytho....
My talk is aimed at everyone who wants to explore CPython’s internals. You don’t have to be an expert in Python, although some affinity with Python helps with understanding the internals. I will also use C to implement some of the operator logic, but knowledge of C is by no means required. In short, if you’re interested in diving into the CPython source code, this talk is for you.
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License creativecommons...

Пікірлер
Protocols in Python: Why You Need Them - presented by Rogier van der Geer
28:40
EuroPython Conference
Рет қаралды 11 М.
Players push long pins through a cardboard box attempting to pop the balloon!
00:31
Мама у нас строгая
00:20
VAVAN
Рет қаралды 11 МЛН
SIZE DOESN’T MATTER @benjaminjiujitsu
00:46
Natan por Aí
Рет қаралды 3,5 МЛН
What happens when you import a module? - presented by Reuven M. Lerner
29:07
EuroPython Conference
Рет қаралды 4 М.
How we are making Python 3.11 faster - presented by Mark Shannon
28:52
EuroPython Conference
Рет қаралды 59 М.
The Magic of Self: How Python Inserts self Into Methods | Sebastiaan Zeeff
26:12
Writing Faster Python 3 - presented by Sebastian Witowski
42:05
EuroPython Conference
Рет қаралды 17 М.
10 Important Python Concepts In 20 Minutes
18:49
Indently
Рет қаралды 314 М.
Clean Architectures in Python - presented by Leonardo Giordani
47:48
EuroPython Conference
Рет қаралды 26 М.
Keynote: Multithreaded Python without the GIL - presented by Sam Gross
53:26
EuroPython Conference
Рет қаралды 20 М.
Players push long pins through a cardboard box attempting to pop the balloon!
00:31