Python: Error Handling Evolution and Quality of Life Wins

A stellar day in Python land with 9 merged pull requests focused on better error handling and developer experience improvements. The standout change comes from Serhiy Storchaka's work on dictionary unpacking that will make debugging much clearer for developers, plus several nice quality of life improvements across asyncio, testing, and the REPL experience.

Duration: PT4M2S

Episode overview

This episode is a short developer briefing from Python.

It explains recent repository work in plain language.

  • Show: Python
  • Published: 2026-03-29T10:02:13Z
  • Audio duration: PT4M2S

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 your host, and wow, what a fantastic day to be diving into Python's evolution. Grab your favorite beverage because we've got some really exciting changes to talk about from March 29th.

Let me start with the absolute star of today's show - a change that's going to make your debugging life so much better. Serhiy Storchaka has been working on something that might sound technical at first, but trust me, you're going to love this in practice. It's all about dictionary unpacking in function calls.

You know when you do something like `func(**my_dict)` and Python unpacks that dictionary as keyword arguments? Well, up until now, if something went wrong during that unpacking process - like if `keys()` or `__getitem__()` raised a `KeyError` - Python would mask that original error and show you a `TypeError`…

Serhiy's fix changes this completely. Now when dictionary unpacking fails, you'll see the actual `KeyError` that caused the problem. No more hunting around wondering what went wrong - you'll get the real error message pointing you exactly where you need to look. This touched 11 files and involved some…

Sp…

Nearby episodes from Python

  1. Spring Cleaning & iOS Evolution
  2. Base64 Gets a Major Upgrade
  3. Performance Insights and Platform Polish
  4. Security Fixes and Developer Experience Polish
  5. JIT Compiler Gets Frame Pointer Safety & Performance Wins
  6. Complex Numbers Get First-Class Treatment
  7. JIT Optimization Surge and Testing Infrastructure Wins
  8. JIT Gets Smarter and Core Gets Cleaner