Python: Curses Portability and Ctypes Decorator Cleanup
A cluster of curses fixes tightened build portability and non-ASCII character handling across niche platforms, while Victor Stinner's ctypes utility decorators got a round of string-annotation and pythonapi fixes. Several older documentation and typo corrections were also backported across the 3.13 through 3.15 branches.
Duration: PT2M38S
Episode overview
This episode is a short developer briefing from Python.
It explains recent repository work in plain language.
- Show: Python
- Published: 2026-07-19T13:05:23Z
- Audio duration: PT2M38S
Transcript excerpt
This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.
It's July 19th, 2026, and this is Python.
Today's biggest thread runs through the curses module. Serhiy Storchaka landed a series of fixes making curses build and behave correctly on less common platforms. PR 154057 gates optional curses functions that don't exist on old SVr4 curses, like the one found on illumos and Solaris, so those builds don't fail to…
The second theme is ctypes. Victor Stinner pushed several connected changes to the util struct and wrap_dll_function decorators. PR 154038 fixes struct decorator behavior with endianness, PR 154040 and PR 154042 fix both decorators when used with string annotations from "from __future__ import annotations", and PR…
Elsewhere, a LibreSSL compilation fix in PR 154054, backported in PR 154075, addresses a real regression: the SSL module failed to build against LibreSSL on 3.15 due to missing signature-algorithm functions. And a handful of documentation fixes -- compiler flag macros, mimetypes parameter naming, inspect descriptor…
What's next: if you build Python against LibreSSL or exotic curses libraries, these fixes reduce your risk on the next release. If you use ctypes' newer struct decorators, expect they now work correctly with…
T…
Nearby episodes from Python
- Data Races, Backports, and BSD Portability
- Chasing Down the Long Tail of Platforms
- Asyncio Subprocess Reliability, Cross-Platform Cleanup
- Weekly Recap - Platform Portability and Reliability Cleanup
- Backports, Free-Threading Fixes, and a Docs Cleanup Wave
- Cleanup Sprint Hits Old Bugs and Security Gaps
- Hardening the Edges of the Standard Library
- Memory Safety Sweep Across the Interpreter