]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-134466: Don't run when termios is inaccessible (GH-138911) (GH-139030)
authorŁukasz Langa <lukasz@langa.pl>
Wed, 17 Sep 2025 16:25:40 +0000 (17:25 +0100)
committerGitHub <noreply@github.com>
Wed, 17 Sep 2025 16:25:40 +0000 (18:25 +0200)
commit3db6d82a4d589a758a119e1de5118ad2e4c9588c
tree81c0680234e5cdbced08c8fe51cb60d589382140
parent216f655c80ee4dad95aea3ce5c298e8d7f80051c
[3.13] gh-134466: Don't run when termios is inaccessible (GH-138911) (GH-139030)

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)
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]