Python: Directory Permissions and Thread Safety Fixes
Python core developers merged 20 pull requests focusing on directory creation permissions, thread safety improvements, and documentation updates. Key changes include restored recursive mode application for os.makedirs() and pathlib.mkdir(), plus several critical section fixes for free-threading support.
Duration: PT2M19S
Episode overview
This episode is a short developer briefing from Python.
It explains recent repository work in plain language.
- Show: Python
- Published: 2026-05-19T10:01:42Z
- Audio duration: PT2M19S
Transcript excerpt
This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.
Good morning, this is your Python developer briefing for May 19th, 2026.
The Python core team merged 20 pull requests yesterday, with significant improvements to file system operations and thread safety.
Nessita merged a major enhancement restoring the ability for os.makedirs() and pathlib.mkdir() to apply file permissions recursively through a new parent_mode keyword argument. This addresses issue 86533 with over 250 lines of changes across documentation, implementation, and comprehensive test coverage.
Several thread safety fixes landed for Python's free-threading support. Kumar Aditya's work fixed race conditions in dict.clear() operations on split-table dictionaries and improved thread safety for list slice deletions. Saul Cooperman enhanced pickle's batch_dict_exact function by replacing coarse-grained locking…
Dan Shernicoff added a qualname parameter to dataclasses.make_dataclass, allowing users to set the qualified name for generated classes. This resolves the remaining portion of issue 79413 after earlier pickle compatibility fixes.
Documentation received multiple updates. Stefanie Molin clarified usage of inspect.ismethod and inspect.isfunction with class-level access,…
Nearby episodes from Python
- Pickle Threading Fixes and Memory Monitoring
- Library Bug Fixes and Documentation Updates
- Core Fixes and Performance Improvements
- Security Fixes and Import System Updates
- Performance Optimizations and Security Fixes
- Security Fix and OpenSSL Updates
- Weekly Recap - Free-Threading Stability & Platform Compatibility
- Cygwin Compatibility and Security Updates