Python: Data Races, Backports, and BSD Portability
CPython's free-threaded build saw two more data-race fixes land this cycle, while a wave of backports patched platform-specific test failures across DragonFly BSD, Solaris, and Windows. A steady stream of triple-backported fixes shows the 3.13, 3.14, and 3.15 branches all being kept in lockstep.
Duration: PT2M33S
Episode overview
This episode is a short developer briefing from Python.
It explains recent repository work in plain language.
- Show: Python
- Published: 2026-07-22T13:08:21Z
- Audio duration: PT2M33S
Transcript excerpt
This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.
Good day, and welcome to Python for July 22nd, 2026.
The top story today is thread safety. Two separate data races were fixed in the free-threaded build: one in sys dot audit hook, from sobolevn in PR 154462, and another in sys dot monitoring's use tool ID function, from weixlu in PR 154459. Both add mutex protection to interpreter state that was being read and…
The second theme is platform portability, and Serhiy Storchaka is the common thread across nearly all of it. DragonFly BSD got two separate fixes: one for os dot posix underscore fadvise and posix underscore fallocate returning the wrong error code in PR 154436, and another for a path-length test that raises the…
Third, backport hygiene. The venv activate dot csh fix for non-interactive shells, the IDLE GUI test hardening for newer Tk versions, and the lzma documentation reference fixes all went out as matched sets across 3.13, 3.14, and 3.15. Worth noting: the automated backport for the lzma doc fix actually broke the docs…
One to watch: PR 154434 proposes fixing a mislabeling bug in struct sequence repr output, affecting things like os dot stat underscore result — it's still under review with a change request pending.
What's…
Nearby episodes from Python
- Concurrency Bugs and Logging Hangs Get Cleaned Up
- Chasing Down the Long Tail of Platforms
- Asyncio Subprocess Reliability, Cross-Platform Cleanup
- Weekly Recap - Platform Portability and Reliability Cleanup
- Curses Portability and Ctypes Decorator Cleanup
- Backports, Free-Threading Fixes, and a Docs Cleanup Wave
- Cleanup Sprint Hits Old Bugs and Security Gaps
- Hardening the Edges of the Standard Library