
core.py
We talk about Python internals, because we work on Python internals. We joke about stuff, because we’re jokers. Episodes between 60 and 90 minutes in length. We’ve done more than a few so far and it doesn’t seem like we’ll be stopping any time soon!Hi Loren!
Latest Episodes
Episode 30: Live from EuroPython, an Interview with Guido van Rossum
This one is a short one. But it's also a big one. We'd invite you to listen to it, but you don't need to follow us. You don't need to follow anybody! You've got to think for yourselves! You're all individuals! ## Timestamps (00:00:00) INTRO (00:00:36) PART 1: GUIDO VAN ROSSUM (00:01:09) Monty Python reference only GvR understood (00:01:27) Math Olympiad anniversary (00:03:31) Silly hats (00:05:20) perchance (00:09:51) PR OF THE WEEK (not really) (00:11:04) The Grail Web Browser (00:14:31) Genera…
Episode 29: Is CPython developed with AI now?
Let's talk about what it really means in practice that AI tools are used in the cpython GitHub repository now. First-hand opinions based on first-party experience. And some personal news! ## Timestamps (00:00:00) INTRO (00:00:58) PART 0: Developer Leaves Residence (00:09:15) Python's got more batteries included than Łukasz ever knew (00:14:18) Camera does not respect Łukasz (00:14:43) PART 1: Fucking AI Shit (00:17:36) December 2025 crossed the usability threshold(00:18:24) Pablo wants Claude Ma…
Episode 28: 2025 In Review
Let's take a breather from heavy content and take a look back at last year in this light but spicy episode! The good, the less good, and the disgusting. All that in barely an hour! ## Timestamps (00:00:00) INTRO (00:01:32) Pablo Galindo SPACE (00:06:20) PART 1: 2025 - the good, the uncertain, and the disgusting (00:07:06) Good: free threading (00:15:34) Good: remote debugging (00:17:31) Good: Python Installation Manager on Windows (00:19:44) The juicy bits (00:20:12) Uncertain: the JIT (00:21:04…
Episode 27: Calling Things, Part 1
Inside of you there are two stacks. Actually, there’s three. The system-level call stack, the CPython call stack, and the interpreter’s evaluation stack. What is all that about? Today we’ll talk about how synchronous Python function calls work. Async stuff comes next time! ## Timestamps Here you go — all square brackets changed to parentheses: (00:00:00) INTRO (00:02:28) PART 1: CALLING THINGS (00:04:19) The Lawful Good Language (00:13:18) Why is there a call stack? (00:19:45) Python functions a…
Episode 26.2: CPython Sprint Week in Cambridge UK, Part 2
More interviews from the core sprint! This time we have: Greg P. Smith, Thomas Wouters, Paul Ganssle, Pradyun Gedam, Carol Willing, Guido van Rossum, Brett Cannon, Erlend Aasland, Tal Einat, Lysandros Nikolaou, Yury Selivanov, and Diego Russo -- the organizer himself. ## Timestamps (00:00:00) INTRO (00:01:51) Greg P. Smith (00:07:57) Thomas Wouters (00:16:33) Paul Ganssle (00:28:28) Pradyun Gedam (00:34:02) Carol Willing (00:43:32) Guido van Rossum (00:55:39) Brett Cannon (01:10:01) Erlend Aasla…
Episode 26.1: CPython Sprint Week in Cambridge UK, Part 1
What? What do you mean this two-and-a-half hour episode is PART 1? Well, there were fifty people at the sprint in September. We interviewed thirty of them. In Part 1 you can hear from 18 of them: Ken Jin, Alex Waygood, Russell Keith-Magee, Sam Gross, Steve Dower, Dino Viehland, Petr Viktorin, Peter Bierma, Eric V. Smith, Hugo van Kemenade, Savannah Bailey, Eric Snow, Brandt Bucher, Antonio Cuni, Larry Hastings, Hood Chatham, Victor Stinner, and Mark Shannon. ## Timestamps (00:00:00) INTRO (00:02…
Episode 25: A Python That Never Was
What if some rejected PEPs were actually accepted? How would Python look today? Let's go through 10 PEPs from the past and imagine an alternative future for the language! ## Timestamps (00:00:00) INTRO (00:01:00) PART 1: What if rejected PEPs were accepted? (00:02:15) PEP 638: Syntactic Macros (00:13:53) PEP 505: None-aware operators (00:37:12) PEP 671: Late-bound function argument defaults (00:44:40) PEP 335: Overloadable Boolean Operators (00:50:53) PEP 3136: Labeled break and continue (00:52:…
The Megahertz
Python 3.14? That's old news. Let's talk about the first big feature of Python 3.15 -- a built-in sampling profiler for Linux, macOS, and Windows. We also cover improvements in perf support, discuss memory.python.org, and as usual, recent changes in the codebase. ## Timestamps (00:00:00) INTRO (00:02:43) PART 1: THE SAMPLING PROFILER (00:05:07) Built-in profile is bad, long live cProfile (00:10:54) Out-of-process profiling (00:12:18) Shortcuts Compromise Accuracy, Leading Eventually to Numerous …
PyCon US 2025 Recap
We’ve been gone a while. Here’s our excuse for being silent for a month: PyCon, PyCon, something something security. Come listen to how the conference looked like from our perspective! And whatever you do, DO NOT upgrade to Python 3.13.4. ## Timestamps (00:00:00) INTRO (00:01:06) PART 1: LANGUAGE SUMMIT (00:04:47) A bit about the Summit talks (00:06:19) Is free-threading happening? (00:09:20) Łukasz and his favorite discussion item at the Summit (00:13:38) Find actual competent coverage of the S…
Beta Frenzy
Python 3.14 Beta 1 is coming! And that means we reach feature freeze. BUT QUICK, there’s still time to squeeze in one last thing! ## Timestamps (00:00:00) INTRO (00:01:58) PART 1: Template strings (00:07:10) PART 2: Asyncio Introspection (00:29:07) PART 3: Syntax highlighting (00:43:00) PART 4: Color themes (00:50:56) PART 5: Debugging a remote process with pdb (01:01:35) PART 6: Python Installation Manager for Windows (01:05:29) PART 7: Worship (01:08:53) PART 8: What else is happening? (01:16:…
Episode 21: A Garbage Episode
We talked about this episode for months now, and it's finally here. Garbage collection in its full glory. Classic and free-threaded. Generational and single-pass. With eager and delayed untracking. We cover it all! Explicitly. ## Timestamps (00:00:00) THE FUCKING INTRO (00:02:03) PART 0: SPORTS NEWS (00:03:19) PART 1: GARBAGE COLLECTION (00:03:57) The big problem with refcounting (00:08:35) Solving reference cycles through PyGC_Head (00:11:45) 64 bits ought to be enough for anybody (00:17:30) Wh…
Episode 20: Remote Code Execution By Design
In this episode, Pablo's avoiding the topic of garbage collection by talking about his latest PEP, which allows unprecedented interaction with a running Python process. We also resolve the bet about reference counting semantics, mention some notable changes in Python since the last episode, and discuss syntax highlighting in PyREPL and why it's bad, actually. ## Timestamps (00:00:00) INTRO (00:02:16) PART 1: PABLO'S LATEST PEP (00:04:34) gdb is IMPOSSIBLE (00:12:49) Make the process run code for…
Episode 19: Async hacks, unicorns and velociraptors
In this asynchronous episode we're interviewing a fellow core developer Yury Selivanov to talk about asyncio's past and future, composable design, immutability, and databases you'd actually like using. We also broke the 2-hour episode barrier! ## Timestamps (00:00:00) INTRO (00:01:33) PART 1: INTERVIEW (00:02:27) What drives you? (00:04:47) How do you choose what to work on? (00:08:10) Hyperfocus (00:09:28) Things from Rust that Python could use (00:14:50) Nothing is sacred when you depend on gl…
Episode 18: Reference Counting
After we talked about memory allocation in Python back in Episode 16, we're ready to complain, uh, explain reference counting. Or at least throw a bunch of reference counting facts at you. Plus a big assortment of recent Python changes. You ready? ## Timestamps (00:00:00) INTRO (00:04:17) PART 0: SPORTS NEWS (00:06:53) PART 1: REFERENCE COUNTING (00:08:28) New segment of 2025 (00:13:54) C++ is asymptotic Python (00:15:37) Is Rust game yet? (00:18:01) Names (00:20:25) Breaking the law (00:23:08) …
Episode 17: Argparse, JIT, and balloons with Savannah Ostrowski
Meet our newest member of the core developer team, Savannah! Currently at Snowflake, she also worked with development tools at Docker and Microsoft, but also flew drones over forests. In terms of CPython, Savannah works on argparse and the JIT, but that's not her last word. # Timestamps (00:00:00) INTRO (00:01:26) PART 1: INTERVIEW WITH SAVANNAH OSTROWSKI (00:02:12) Beginnings as a Python user (00:04:14) Carol Willing's nudge (00:06:55) First PR (00:08:56) Psychological damage from asyncio (00:1…
Episode 16: Memory Allocation
How does Python handle memory? Why does it need to perform custom forms of memory allocation? We talk about all that in this episode. We don't talk about Easter eggs, and we never mention Brandt by name, as promised last time! ## Timestamps (00:00:00) INTRO (00:00:22) PART 0: SPORTS NEWS (00:01:57) PART 1: MEMORY ALLOCATION (00:03:46) If you write C correctly, it manages memory for you (00:05:38) malloc and the heap (00:09:31) High-level allocators (00:10:48) pymalloc (00:11:15) 512 is a good nu…
Episode 15: Core sprint at Meta
Over 40 core developers spent a week in Bellevue WA putting finishing touches on Python 3.13, planning, prototyping, and implementing features for Python 3.14. We talked to half of them. We laughed, we cried. We were happy watching graphs go up, and sad watching them go down. It was intense. There was even cake, no joke! ## Timestamps (00:00:00) INTRO (00:02:05) PART 1: THE CAKE IS NOT A LIE (00:04:09) Interview with sprint organizer Itamar Oren (00:07:48) Surprise waffle machine (00:08:36) PART…
Episode 14: Integration Events
We’ve been gone all Summer, visiting two European conferences in the mean time. In this episode we’re talking about them both, talks we liked, as well as our own talks at those events. In a rare turn of events, this one was recorded in person at Łukasz’s home studio in Poznań! ## Outline (00:00:00) INTRO (00:01:30) PART 1: EuroPython highlights (00:02:03) Maintaining pyrepl forward with pypy (00:05:51) Mai Giménez and her keynote (00:09:30) Yuliia Barabash and Laysa Uchoa talk memory management …
Episode 13: A Legit Episode
In this lucky episode we're interviewing fellow core developer Brandt Bucher to talk about Justin, Swedish warships, and the n-body benchmark. We're also breaking the duration record with this one. We promise we'll get faster in future releases! ## Outline (00:00:00) INTRO (00:01:43) PART 1: BRANDT BUCHER INTERVIEW (00:03:04) Beginnings of contribution (00:06:29) Sticking around (00:09:38) PEP work: pattern matching, dict unions, weird decorators (00:13:07) Implementing pattern matching, we like…
Episode 12: WTF Python
You think you know Python? We thought so, too. Join us for an episode of surprises. You might know some of those, but you sure don't know all of them. ## Outline (00:00:00) INTRO (00:02:22) Integer interning with a twist (00:10:58) Return in finally (00:15:32) all([[]]) (00:20:06) Lists, iterators and hashing shenanigans (00:27:08) hash(-1) (00:31:30) String interning (00:34:23) PR OF THE WEEK (00:34:56) asyncio REPL now uses pyrepl, too (00:44:06) PyOS_InputHook (00:51:56) WHAT'S GOING ON IN CP…





