Python: Concurrency Bugs Get Squashed Across Branches
A cluster of fixes closed real deadlock and correctness bugs in dictionaries, process pools, and the zoneinfo parser, each backported across three or more release branches, alongside a batch of new IDLE developer tools.
Duration: PT2M15S
Episode overview
This episode is a short developer briefing from Python.
It explains recent repository work in plain language.
- Show: Python
- Published: 2026-07-03T14:18:25Z
- Audio duration: PT2M15S
Transcript excerpt
This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.
It's July 3rd, 2026, and the story in CPython this cycle is deadlocks and data races finally getting nailed down, then carefully rolled out everywhere they're needed.
Start with DinoV's PR 152914. It's the second attempt at fixing split dictionary updates under free-threaded Python. The first version risked a lock-ordering deadlock; this one acquires the type lock before the keys lock and keeps that invariant strict. The test suite that used to hang under thread sanitizer now…
Right alongside it, Gregory P. Smith's fix for a Process Pool Executor deadlock, tied to issue 115634, made the same kind of impact. Workers exiting after hitting their max tasks per child limit were leaving behind stale semaphore tokens, and the pool would stop spawning replacements while jobs sat queued. The fix…
The zoneinfo parser had a quieter but related class of bug: the pure Python implementation accepted malformed Julian day-of-year values that the C accelerator correctly rejected. Tonghuaroot's fix in PR 152848 closed that gap, and again, it shipped across 3.13, 3.14, and 3.15 within the same day.
A second theme: infrastructure aging out. Victor Stinner pushed LLVM to version 21 and GCC to version 13…
W…
Nearby episodes from Python
- Security Fixes and Code Cleanup
- Weekly Recap - Memory Safety and Stability Fixes
- Memory Safety and Performance Fixes
- Memory Safety and Process Pool Fixes
- Memory Safety and Performance Optimizations
- Memory Safety and Performance Hardening
- Memory Management and Documentation Fixes
- Memory Safety and Crash Prevention Fixes