]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-134466: Don't run when termios is inaccessible (GH-138911)
authorŁukasz Langa <lukasz@langa.pl>
Wed, 17 Sep 2025 10:59:49 +0000 (11:59 +0100)
committerGitHub <noreply@github.com>
Wed, 17 Sep 2025 10:59:49 +0000 (12:59 +0200)
commit2fc7004d5437e7bb0a1f5b962be441ef0ee7434b
treebfa684dc9ded2773947a3a3ef3fe8be3b4379322
parent64c876dd6812ade19cb7a0c619111d30f0b2b860
gh-134466: Don't run when termios is inaccessible (GH-138911)

Without the ability to set required capabilities, the REPL cannot
function properly (syntax highlighting and multiline editing can't
work).

We refuse to work in this degraded state.
Lib/_pyrepl/fancy_termios.py
Lib/_pyrepl/unix_console.py
Misc/NEWS.d/next/Core_and_Builtins/2025-09-15-14-04-56.gh-issue-134466.yR4fYW.rst [new file with mode: 0644]