Python: Crash Hardening and Mail Protocol Security

Core fixes address crashes in callable iterators and subinterpreter execution, while backports tighten IMAP and POP3 command validation. Smaller parity fixes align pure-Python behavior with C implementations.

Duration: PT2M33S

Episode overview

This episode is a short developer briefing from Python.

It explains recent repository work in plain language.

  • Show: Python
  • Published: 2026-11-17T14:09:06Z
  • Audio duration: PT2M33S

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, November 17th, 2026, and this is your Python briefing.

The lead signal today is stability under concurrency, with several fixes for crashes that only appear when objects are shared, mutated, or fail during error handling.

First, core runtime hardening. Work tracked in PR 161793 fixes crashes in the callable iterator. The problem was borrowed references to the callable and sentinel: a custom equality check could free the sentinel mid-comparison, and on the free-threaded build, two threads exhausting the same iterator could release…

Second, security tightening for legacy network code. Multiple backports for Python 3.12 reject unsafe characters in mail commands — blocking null, carriage return and line feed in IMAP arguments under CVE-2025-15366, and control characters in POP3 commands under CVE-2025-15367. For developers, untrusted usernames or…

Finally, parity and maintenance. PR 162029 aligns the pure-Python JSON decoder with the C decoder, reporting invalid escapes at the backslash rather than off by one. Other open fixes address XML tree builder attribute copying and nested f-string lexer handling. Merged documentation adds a memorial page for the…

What's…

Nearby episodes from Python

  1. Runtime Hardening and I/O Fixes
  2. Free-Threading Race Fixes and Async Speedups
  3. Memory Cuts and Remote Debugging Cleanup
  4. Tachyon Format Overhaul and Reliability Fixes
  5. Remote Debugging Cleanup and Security Backports
  6. Weekly Recap - Stabilization Backports and Platform Fixes
  7. Crash Fixes and Free-Threading Hardening
  8. HTTP Query Support and Interpreter Hardening