]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-136687: Add ./configure --with-curses to select the curses backend (GH-153992)
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 19 Jul 2026 06:08:30 +0000 (09:08 +0300)
committerGitHub <noreply@github.com>
Sun, 19 Jul 2026 06:08:30 +0000 (06:08 +0000)
commit3c274d0c61d06b331d27223f0ed666b531008492
treecc225e35892345a95ede55f6c8aad3e08f882eab
parent1f1374009b681814642ca199136815b223fd90ae
gh-136687: Add ./configure --with-curses to select the curses backend (GH-153992)

Add --with-curses=ncursesw|ncurses|curses|no, mirroring --with-readline.
The default (auto) keeps the current behaviour: prefer ncursesw, fall back
to ncurses.  --with-curses=curses links the system's native curses (e.g. on
NetBSD or Solaris), which has no pkg-config file and was previously
unreachable; it is built with wide-character support when the library
provides it.  --without-curses excludes the curses and _curses_panel modules
from the build.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Doc/using/configure.rst
Doc/whatsnew/3.16.rst
Misc/NEWS.d/next/Build/2026-07-18-14-30-12.gh-issue-136687.teaPCG.rst [new file with mode: 0644]
configure
configure.ac