Python: Spring Cleaning and Memory Management Magic

Today's episode covers an impressive 20 merged pull requests with significant improvements to Python's memory management, including crucial fixes for mimalloc page leaks in free-threaded builds and comprehensive bug fixes across asyncio, documentation updates, and JIT compiler improvements. Notable contributors include Sam Gross with memory optimizations and Stan Ulbrych with multiple compiler and documentation fixes.

Duration: PT4M11S

Episode overview

This episode is a short developer briefing from Python.

It explains recent repository work in plain language.

  • Show: Python
  • Published: 2026-03-10T10:29:09Z
  • Audio duration: PT4M11S

Transcript excerpt

This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.

Hey there, Python developers! Welcome back to another episode of the Python podcast. I'm thrilled you're here with me today because wow - do we have some incredible updates to dive into! March 10th brought us a absolutely packed day with 20 merged pull requests and 26 additional commits. It's like the Python core…

Let's jump right into the big story today - and it's all about making Python faster and more reliable under the hood. Sam Gross delivered what I'd call a masterpiece with PR #145691, fixing mimalloc page leaks in the free-threaded build. Now, I know "mimalloc page leaks" might sound super technical, but here's why…

Speaking of fixes, we had some great asyncio improvements too. Daan De Meyer tackled an InvalidStateError in BaseSubprocessTransport that was causing headaches for developers working with subprocess operations. The fix got backported to both Python 3.13 and 3.14, so everyone benefits from this stability improvement.

Now, here's something that caught my eye - Stan Ulbrych has been absolutely on fire lately! He contributed multiple PRs including a fascinating fix for comprehensions in class scopes. If you've ever worked with list comprehensions inside classes and…

B…

Nearby episodes from Python

  1. Audio Adventures and Threading Safety
  2. Windows REPL Fix and Performance Wins
  3. Spring Cleaning and Performance Gains
  4. Thread Safety Sprint & Infrastructure Wins
  5. The Great Memory Cleanup Day
  6. Crash Guards and Polish Pass
  7. Security & Performance Polish
  8. The Frozendict Revolution