Python: Free-Threading Fairness and Tokenizer Cleanup

Free-threaded stop-the-world fairness leads the day, alongside a tokenizer fix for the old not-equal operator backported across three releases. A batch of small standard library hardening fixes rounds out the activity.

Duration: PT2M35S

Episode overview

This episode is a short developer briefing from Python.

It explains recent repository work in plain language.

  • Show: Python
  • Published: 2026-09-26T13:08:42Z
  • Audio duration: PT2M35S

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 Saturday, September 26th, 2026, and this is your Python developer briefing.

The lead insight: core runtime reliability got stronger for free-threaded builds, while parser behavior got more consistent across supported branches.

First theme, threading fairness. Pull request 152826 fixes starvation of attaching threads in stop-the-world pauses. The issue was that repeated pauses could keep parking a thread returning from a detached operation before it could reattach and make progress, found during garbage collection stress on many-core…

Second theme, tokenizer cleanup. Pull request 154854 stops emitting the old diamond operator as a single token. The tokenize module now reports less-than and greater-than separately, with a custom error message, regardless of the old joke future import. That same change was manually backported to 3.15, 3.14, and…

Third, steady standard library hardening. Merged fixes include clearing the decompression tail buffer at end of stream in pull request 158177, and fixing an IDLE shell hang after keyboard interrupt under the debugger in pull request 157566. Open proposals address a use-after-free in async task naming, quoting of…

What's next:…

Nearby episodes from Python

  1. Runtime Hardening and Profiler Reliability
  2. Security Backports and IDLE Reliability Push
  3. IDLE Stability and Free-Threading Safety
  4. C API Lockdown and Free-Threading Gains
  5. Core Speedups and Interactive Tool Fixes
  6. Weekly Recap - Core Speedups, Text Handling and Release Stabilization
  7. F-String Slowdown Fix and Runtime Hardening
  8. Cleanup, Correctness, and a Trickle of Backports