Python: Thread Safety and the Great Regex Slowdown Cleanup
Kumar Aditya landed a pair of fixes for data races on function object attributes that are now propagating through backport chains, while three separate contributors converged on fixing catastrophic regex backtracking in csv.Sniffer. Illumos platform support also got a coordinated round of fixes across three stable branches.
Duration: PT2M49S
Episode overview
This episode is a short developer briefing from Python.
It explains recent repository work in plain language.
- Show: Python
- Published: 2026-07-29T13:06:56Z
- Audio duration: PT2M49S
Transcript excerpt
This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.
Good day, it's July 29th, 2026, and this is your Python development briefing.
The clearest signal today: free-threaded Python is still shaking out data races, and the fixes are moving fast through the backport pipeline.
Kumar Aditya landed two related fixes this week. PR 154826 addresses data races on function attributes generally, while PR 154851 targets a narrower case: setting a function's doc string and module name concurrently. Both are already backported to the 3.15 and 3.14 branches through miss-islington's automation,…
Second theme: algorithmic complexity bugs in text parsing. Three independent PRs this week fix quadratic or exponential blowups in regular expressions. Serhiy Storchaka's PR 154868 and pikammmmm's PR 154869 both target the same csv.Sniffer doubled-quote detection, which could take minutes on adversarial input. A…
Third, illumos got real attention: a chain of sendfile error-reporting fixes, PR 154327 and its backports to 3.14 and 3.13, plus a socket ancillary-data fix enabling forkserver support there.
Smaller but notable: a subprocess regression fix for very large wait timeouts, PR 154837, and three curses bugs around uninitialized memory and integer sign…
Nearby episodes from Python
- Curses Crashes and a Careful Revert
- Curses, Concurrency, and a Reflog Revert
- Weekly Recap - Memory Safety and Backport Discipline
- Locale Encoding Bugs Take Center Stage
- Memory Safety Sweep Across the Interpreter
- A Day of Memory Safety Hunting
- Concurrency Bugs and Logging Hangs Get Cleaned Up
- Data Races, Backports, and BSD Portability