Skip to content

[3.14] gh-152502: Detect optional curses functions with configure probes (GH-152504) (GH-152589) - #152603

Merged
serhiy-storchaka merged 1 commit into
python:3.14from
serhiy-storchaka:backport-2a4ffa6-3.14
Jun 29, 2026
Merged

serhiy-storchaka merged 1 commit into
python:3.14from
serhiy-storchaka:backport-2a4ffa6-3.14

Conversation

@serhiy-storchaka

@serhiy-storchaka serhiy-storchaka commented Jun 29, 2026 •

Copy link
Copy Markdown
Member

set_escdelay(), set_tabsize() and the ESCDELAY and TABSIZE variables were gated only by the ncurses-specific NCURSES_EXT_FUNCS macro, which excluded them when building against other curses implementations such as NetBSD curses even when they provided them. Detect each with a configure capability probe and gate on HAVE_CURSES_*.
(cherry picked from commit 0635e55) (cherry picked from commit 2a4ffa6)

…re probes (pythonGH-152504) (pythonGH-152589)

set_escdelay(), set_tabsize() and the ESCDELAY and TABSIZE variables were
gated only by the ncurses-specific NCURSES_EXT_FUNCS macro, which excluded
them when building against other curses implementations such as NetBSD curses
even when they provided them.  Detect each with a configure capability probe
and gate on HAVE_CURSES_*.
(cherry picked from commit 0635e55)
(cherry picked from commit 2a4ffa6)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
@serhiy-storchaka
serhiy-storchaka enabled auto-merge (squash) June 29, 2026 15:00
@serhiy-storchaka
serhiy-storchaka merged commit 7ad8bc2 into python:3.14 Jun 29, 2026
44 of 47 checks passed
@serhiy-storchaka
serhiy-storchaka deleted the backport-2a4ffa6-3.14 branch July 1, 2026 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant