Python: Free-Threading Race Hardening and Stable Branch Fixes
Free-threading reliability work dominated activity, with fixes for races in logging, hashing, and iteration. A parallel wave of backports to 3.14 and 3.15 advanced security updates and small reliability fixes.
Duration: PT2M17S
Episode overview
This episode is a short developer briefing from Python.
It explains recent repository work in plain language.
- Show: Python
- Published: 2026-10-21T13:16:59Z
- Audio duration: PT2M17S
Transcript excerpt
This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.
Hello, it's October 21st, 2026, and this is your Python developer briefing.
The clear signal today is thread-safety hardening for free-threaded Python, paired with a heavy wave of stabilization backports to 3.14 and 3.15.
First, concurrency races. Multiple changes close gaps where one thread could free or mutate state while another reads it. In PR 159884, the syslog open log path could crash if another thread replaced the system argument list mid-call, now fixed by taking a proper reference. In PR 159953, split-dictionary iteration…
Second, release stabilization. The bundled Expat parser was updated to version 2.9.0 on both 3.14 and 3.15, tracked in PRs 159920 and 159921. Other backports fix a handle leak in the Windows registry module when an audit hook fails, timed log rotation after a failed rollover, path discovery for symlinked virtual…
Third, interactive tooling polish. The new interactive prompt now handles import completions with spaces correctly, and a debugger change in PR 159918 makes set trace a no-op when already inside the debugger, avoiding corrupted state. A separate commit switches the debugger and related modules to lazy imports for…
What's next: if you ship on the…
Nearby episodes from Python
- Clinic Conversion for Core Slots and Doc Push
- Crash-Path Hardening, Asyncio Fixes, and Efficiency Wins
- Asyncio Stability and Exception Handling Fixes
- Weekly Recap - Crash Fixes, Asyncio Reliability and C API Hardening
- Parser Input Detection and Async Stack Fixes
- Free-Threading Fixes and GC Speedups
- Free-Threading Races, Core Speedups, and Stdlib Hardening
- Free-Threading Crash Fixes and Cleanup Guarantees