Python: C API Lockdown and Free-Threading Gains

Core work converged on enforcing Py-prefix naming for C API macros and privatizing internal build flags. Free-threading contention fixes and platform updates round out the day's signal.

Duration: PT2M32S

Episode overview

This episode is a short developer briefing from Python.

It explains recent repository work in plain language.

  • Show: Python
  • Published: 2026-09-22T13:10:33Z
  • Audio duration: PT2M32S

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 Tuesday, September 22nd, 2026, and this is your Python developer briefing.

The biggest signal today is a coordinated push to protect the boundary between public and private C A P I, by enforcing naming rules for macros.

Victor Stinner led that effort in pull request 157696, which adds an automated check that new C A P I macros must start with Py, and wires it into continuous integration and pre-commit. Existing non-conforming names are grandfathered in a ignore list, but new ones will fail. That same campaign explains a cluster of…

A second theme is performance, especially for free threading. Pull request 157670 avoids creating a bound method when calling instance check and subclass check, cutting contention on paths used heavily by abstract base classes. Separately, pull request 157933 proposes about a one and a half times speedup for date…

Finally, small correctness and platform upkeep. Pull request 157588 fixes keyboard selection in Idle settings, so up and down arrows now move the action anchor and keep buttons in sync. Pull request 157832 quotes unconverted data in strptime errors for clearer debugging. On platforms, support landed for Wasi S D K…

What's next:…

Nearby episodes from Python

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