Python: IDLE Stability and Free-Threading Safety

IDLE and Tk reliability dominates with fixes for Restart Shell hangs, paren matching, and macOS signal handlers, alongside free-threading crash hardening and small stdlib correctness fixes.

Duration: PT2M39S

Episode overview

This episode is a short developer briefing from Python.

It explains recent repository work in plain language.

  • Show: Python
  • Published: 2026-09-23T13:11:26Z
  • Audio duration: PT2M39S

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 Wednesday, September 23rd, 2026, and this is your Python briefing.

The clear signal today is stability: a cluster of IDLE and Tk fixes for hangs and broken editing, paired with hardening for the free-threaded build against crashes and data races.

First, IDLE. Pull request 157644 fixes a hang after Restart Shell while large output was still arriving. The client reused its connection object but kept a partial packet from the old session in the receive buffer, so new messages never completed. Clearing that buffer on accept resolves it, now backported to 3.13…

Second, runtime safety and C API. Pull request 157979 synchronizes access to functools partial's mutable state, closing a crash where pickling could interleave with reads under the disabled G I L. A related draft, pull request 157973, would keep exception fields alive during suggestion lookups that can run arbitrary…

Finally, small standard library corrections with real impact. Pull request 157952 stops H T T P client blocking on chunked bodies for one-x-x, 204 and 304 responses. Pull request 151050 marks address 2001 colon 1 colon 3 as globally reachable. And pull request 157977 ensures shelve sync restores…

What'…

Nearby episodes from Python

  1. C API Lockdown and Free-Threading Gains
  2. Core Speedups and Interactive Tool Fixes
  3. Weekly Recap - Core Speedups, Text Handling and Release Stabilization
  4. F-String Slowdown Fix and Runtime Hardening
  5. Cleanup, Correctness, and a Trickle of Backports
  6. Hardening Memory Safety at the Core
  7. IDLE Gets a Major Reliability Sweep
  8. Hardening the Core Against Silent Corruption