Skip to content

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

Merged
serhiy-storchaka merged 3 commits into
python:3.13from
serhiy-storchaka:backport-2a4ffa6-3.13
Jun 29, 2026
Merged

[3.13] gh-152502: Detect optional curses functions with configure probes (GH-152504) (GH-152589)#152602
serhiy-storchaka merged 3 commits into
python:3.13from
serhiy-storchaka:backport-2a4ffa6-3.13

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>
@read-the-docs-community

read-the-docs-community Bot commented Jun 29, 2026

Copy link
Copy Markdown

@serhiy-storchaka serhiy-storchaka merged commit d608eb9 into python:3.13 Jun 29, 2026
41 of 44 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant