Python: Asyncio Subprocess Reliability, Cross-Platform Cleanup
A cluster of asyncio subprocess and child-watcher fixes landed across three release branches, alongside a wave of build and test fixes targeting NetBSD, OpenBSD, DragonFly, Solaris, and FreeBSD. Together they tighten process-management correctness and shore up CPython's support for less-common platforms.
Duration: PT2M37S
Episode overview
This episode is a short developer briefing from Python.
It explains recent repository work in plain language.
- Show: Python
- Published: 2026-07-20T13:06:34Z
- Audio duration: PT2M37S
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 20th, 2026, and this is Python.
The clearest signal today: asyncio's subprocess handling is getting a serious reliability pass, backported across Python 3.13, 3.14, and 3.15 simultaneously.
Kumar Aditya's fix for a race condition in the threaded child watcher, where asyncio could accidentally signal an unrelated process, went out as PR 154220 and 154221 for the newer branches. Alongside it, a fix ensuring Process dot wait actually completes on process exit instead of hanging on pipe closure shipped in…
The second theme is platform-specific hardening, almost entirely driven by Serhiy Storchaka. A run of fixes touches BSD variants and Solaris: a math module build failure on FreeBSD tied to missing C23 header visibility, a locale dot strxfrm crash on DragonFly BSD, posix_openpt fixes on OpenBSD, and openpty…
A smaller thread: two Windows-specific bugs, both from SynaptSea, trace back to the same root cause — clang-cl's compiler banner gets truncated in sys.version, breaking both ctypes dot util and a distutils-style platform check in test_importlib.
What's next: watch for the newer C-stack test skip logic and the dllist reimplementation in ctypes, PR 154255, to stabilize…
Nearby episodes from Python
- 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
- Memory Safety Sweep Across the Interpreter
- Error Handling Cleanup Across the Standard Library
- Compression Modules Get a Cleanup Pass