Python: Windows Path Fixes and DOM Standards Cleanup
Serhiy Storchaka led a wave of Windows filesystem correctness fixes and a major DOM Level 1 conformance overhaul for the XML minidom module, both landing across multiple release branches. Separately, two small compiler cleanups from Irit Katriel close error-handling gaps in code generation.
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-08-30T13:07:04Z
- 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.
Good morning. It's August 30th, 2026, and today's codebase activity centers on two big cleanup efforts: Windows path handling, and XML DOM standards compliance.
Start with Windows. Serhiy Storchaka landed a cluster of fixes around how Python resolves file paths and permissions on that platform. PR 155392 fixes execute permission detection in os dot stat, since Windows quietly strips trailing dots and spaces from filenames, which was causing permission mismatches. PR 155396…
The second theme is DOM conformance. PR 155641 is a large rework of minidom, adding proper error types like invalid character, wrong document, and hierarchy request errors, plus support for entity reference nodes - closing gaps that trace back to a 2007 patch that never landed. Companion PR 155632 documents the…
Smaller but worth flagging: Irit Katriel fixed two cleanup-on-error paths in code generation, PR 156511 and PR 156467, both about ensuring scopes exit properly when compilation errors occur mid-function. And Kumar Aditya's PR 156409 removes GIL acquisition from tracemalloc entirely, simplifying memory tracing under…
What to remember: if your code depends on old Windows path quirks or loose DOM validation,…
T…
Nearby episodes from Python
- Compiler Cleanup and Tokenizer Consolidation
- Tokenizer Overhaul and Compiler Cleanup Wave
- Correctness Fixes Across Error Handling and Startup
- Cleanup Cycle for CPython Internals
- Curses Cleanup and Correctness Fixes Across the Board
- Argument Clinic Consolidation and Thread-Safety Fixes
- Weekly Recap - Crash Fixes and Cleanup Across the C Layer
- Data Corruption Fixes and a Cleanup Sweep in Curses and Zlib