Talk Python To Me
#240 A guided tour of the CPython source code
Nov 27, 2019 · 1 hr
Play episode
You might use Python every day. But how much do you know about what happens under the covers, down at the C level? When you type something like variable = [], what are the byte-codes that accomplish this? How about the class backing the list itself?

All of these details live at the C-layer of CPython. On this episode, you'll meet Anthony Shaw. He and I take a guided tour of the CPython source code. After this, you won't have to guess what's happening. You can git-clone the CPython source code and see for yourself.

Links from the show

Anthony on Twitter: @anthonypjshaw

Python on Github:
RealPython article:
Memory management in Python article:
Dismissing Python Garbage Collection at Instagram:

Prior episodes with Anthony

#180: What's new in Python 3.7 and beyond:
#168: 10 Python security holes and how to plug them:
#155: Practical steps for moving to Python 3:
#132: Contributing to open source:


Talk Python Training
Clear search
Close search
Google apps
Main menu