]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-134466: Don't run when termios is inaccessible (GH-138911) (GH-139029)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 7 Oct 2025 20:15:56 +0000 (22:15 +0200)
committerGitHub <noreply@github.com>
Tue, 7 Oct 2025 20:15:56 +0000 (22:15 +0200)
commit9853bbb1dcb5b67d1cc12cac7af266a0f963c924
tree0fe77447d05f4f8f5f54b21bfb547b720f83a8a9
parent89a7b05f2318e7638c7412b675d0bad269d49534
[3.14] gh-134466: Don't run when termios is inaccessible (GH-138911) (GH-139029)

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.

(cherry picked from commit 2fc7004d5437e7bb0a1f5b962be441ef0ee7434b)

Co-authored-by: Ɓukasz Langa <lukasz@langa.pl>
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]