Python: Concurrency Races and String Hardening

Temporary directory cleanup and interpreter isolation fixes dominate, backported across 3.12 through 3.15. A parallel series hardens the bytes writer, unicode writer, and float formatting against crashes and debugger failures.

Duration: PT2M31S

Episode overview

This episode is a short developer briefing from Python.

It explains recent repository work in plain language.

  • Show: Python
  • Published: 2026-09-30T13:10:30Z
  • Audio duration: PT2M31S

Transcript excerpt

This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.

Good morning, today is September 30th, 2026, and this is your Python briefing.

The through-line today is safety under concurrency, with a parallel effort to make string and byte handling more predictable.

First, cleanup and interpreter isolation. The fix for a race in temporary directory cleanup, in pull request 157580, is now being backported across 3.12 through 3.15, signaling high release importance. If threads raced final cleanup, removal could fail or hit the wrong path. For developers, that means more reliable…

Second, text, bytes, and numbers. Pull request 158409 fixes two bytes-writer bugs, restoring state on format errors and returning the correct empty byte array type. A series of unicode writer commits tightens storage checks and error paths, while the GDB helper in pull request 158475 now renders invalid unicode as…

Third, build and observability. Continuous integration is moving to the latest OpenSSL releases across branches. Both the decimal and N-D-B-M modules gain structured version info for the underlying libraries, and classic N-D-B-M reporting is corrected, helping you log exactly what you run against.

What's next: expect the temporary directory backports to land…

Nearby episodes from Python

  1. C Safety Fixes and Version APIs
  2. Clinic Cleanup Wave and Free-Threading Fixes
  3. Weekly Recap - Stabilization, C API Cleanup and Backports
  4. Lazy Import Fix and IDLE Hardening
  5. Free-Threading Fairness and Tokenizer Cleanup
  6. Runtime Hardening and Profiler Reliability
  7. Security Backports and IDLE Reliability Push
  8. IDLE Stability and Free-Threading Safety