Python: Weekly Recap - Memory Safety and Backport Discipline

CPython closed out the week with a wave of use-after-free and data-race fixes across bytearray, functools, decimal, and asyncio, all systematically backported to 3.13, 3.14, and 3.15. Argparse and curses also got targeted correctness fixes, alongside continued test hardening for capsule and locale-sensitive code paths.

Duration: PT3M13S

Episode overview

This episode is a short developer briefing from Python.

It explains recent repository work in plain language.

  • Show: Python
  • Published: 2026-07-27T09:20:46Z
  • Audio duration: PT3M13S

Transcript excerpt

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

This is the Python Weekly Recap for July 20th through July 27th, 2026. Fifty pull request activity items and thirty additional commits landed this week.

The dominant story is memory safety. Maintainers closed out several use-after-free and data-race bugs discovered in core data types. Brij Kapadia's fix for functools dot partial vectorcall, PR 154508, addressed a use-after-free tied to issue 154189. A separate fix corrected bytearray's take underscore bytes method…

Asyncio reliability was the second major theme. Fixes covered a socket leak in create underscore connection's error path, a named FIFO handling bug on macOS for write pipe transports, subprocess cancellation edge cases, and a task tracking issue where garbage collection could interfere with task unregistration, PR…

Argparse saw two related quality-of-life fixes from Savannah Ostrowski: correcting how colorized help text wraps, PR 154634, and switching the module to lazy imports, PR 154639. Curses also had a color-handling defect fixed twice — first for getcchar on older ncurses versions, then for window dot inch on wide builds…

On the testing and correctness front, Serhiy Storchaka contributed multiple locale- and…

Next…

Nearby episodes from Python

  1. Locale Encoding Bugs Take Center Stage
  2. Memory Safety Sweep Across the Interpreter
  3. A Day of Memory Safety Hunting
  4. Concurrency Bugs and Logging Hangs Get Cleaned Up
  5. Data Races, Backports, and BSD Portability
  6. Chasing Down the Long Tail of Platforms
  7. Asyncio Subprocess Reliability, Cross-Platform Cleanup
  8. Weekly Recap - Platform Portability and Reliability Cleanup