Python: Profiler Reliability Sweep

More than a dozen changes hardened CPython's sampling profiler for async tasks, exception handling, and export formats. Curses, Tkinter, and a time-delta speedup rounded out the day.

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-11-24T14:09:16Z
  • Audio duration: PT2M35S

Source and disclosure

Python is an unofficial, AI-generated summary of public activity in python/cpython on GitHub.

Podlog isn't affiliated with or endorsed by the project or its maintainers. Episodes aren't reviewed by a person before they go out, so check the source repository for the full story.

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 Monday, November 24th, 2026, and here's your Python briefing.

The lead story is a coordinated reliability push on the sampling profiler, with more than a dozen fixes landing on main plus backports to 3.14 and 3.15.

First, profiles are getting more truthful. In exception mode, blocked handlers that were sleeping inside an except block produced empty output because an idle-thread filter discarded them. PR 159866 removes that filter for exception mode, since the unwinder already limits results to threads with an active exception.…

Second, the exporters and classifiers were tightened. PR 160982 keeps full file paths in Gecko output so same-named files in different directories stay distinct, while PR 158993 fixes nested site packages being mislabeled as standard library in heatmaps. Other fixes correct Gecko marker timing during out-of-order…

Beyond profiling, there were compatibility fixes for terminal and desktop developers. Two curses issues were resolved: negative values from term attributes that caused overflow errors, and a crash in term parameter handling when a capability expects text, now requiring bytes in PR 161601. For Tk 9.1, PR 153247 adds…

Finally,…

Nearby episodes from Python

  1. Faster Builtins, Asyncio Data Fix, Stable ABI Docs
  2. Faster Calls and Relocatable Builds
  3. Tkinter Thread Safety and Core Performance Push
  4. Concurrency Fixes, Tkinter Stability, and Faster Startup Paths
  5. Vectorcall Speedups and Parser Hardening
  6. Weekly Recap - Faster Construction and Parser Hardening
  7. Subprocess Hang Fix and Core Type Speedups
  8. Runtime Hardening and I/O Fixes