Monitor performance issues & errors in your code

A guided tour of the CPython source code

Episode #240, published Wed, Nov 27, 2019, recorded Wed, Oct 30, 2019

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: github.com
RealPython article: realpython.com
Memory management in Python article: rushter.com
Dismissing Python Garbage Collection at Instagram: instagram-engineering.com

Prior episodes with Anthony

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

--- Stay in touch with us ---
Subscribe to us on YouTube: youtube.com
Follow Talk Python on Mastodon: talkpython
Follow Michael on Mastodon: mkennedy

Want to go deeper? Check out our courses

Talk Python's Mastodon Michael Kennedy's Mastodon