cpython/Lib/_pyrepl
Miss Islington (bot) 9853bbb1dc
[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 2fc7004d54)

Co-authored-by: Ɓukasz Langa <lukasz@langa.pl>
2025-10-07 22:15:56 +02:00
..
__init__.py gh-111201: A new Python REPL (GH-111567) 2024-05-05 21:32:23 +02:00
__main__.py gh-129098: avoid using content of _pyrepl/__main__.py when reporting tracebacks (#130721) 2025-04-20 18:24:30 +01:00
_module_completer.py [3.14] gh-69605: Hardcode some stdlib submodules in PyREPL module completion (os.path, collections.abc...) (GH-138268) (GH-138943) 2025-10-07 21:24:01 +02:00
_threading_handler.py gh-120221: Support KeyboardInterrupt in asyncio REPL (#123795) 2024-09-06 21:28:29 +02:00
base_eventqueue.py [3.14] Bump mypy to 1.16.1 (GH-135720) (#135848) 2025-06-23 13:09:24 +00:00
commands.py [3.14] GH-130328: Speedup pasting in legacy console on Windows (gh-133728) (#134653) 2025-05-25 15:54:28 +02:00
completing_reader.py gh-69605: Add module autocomplete to PyREPL (#129329) 2025-04-25 02:24:26 +01:00
console.py gh-131507: Clean up tests and type checking for _pyrepl (#131509) 2025-03-21 15:48:10 +01:00
fancy_termios.py [3.14] gh-134466: Don't run when termios is inaccessible (GH-138911) (GH-139029) 2025-10-07 22:15:56 +02:00
historical_reader.py gh-123024: Correctly prepare/restore around help and show-history commands (#124485) 2025-01-21 21:04:30 +00:00
input.py Improve pyrepl type-annotation coverage (#119081) 2024-05-17 06:13:24 -04:00
keymap.py Remove almost all unpaired backticks in docstrings (#119231) 2024-05-22 12:35:18 -04:00
main.py [3.14] gh-127960 Fix the REPL to set the correct namespace by setting the correct __main__ module (gh-134275) (gh-134473) 2025-05-22 03:33:35 +02:00
mypy.ini gh-131507: Add support for syntax highlighting in PyREPL (GH-133247) 2025-05-02 20:22:31 +02:00
pager.py Support the "pager" binary in _pyrepl (#122878) 2024-09-19 13:18:24 +00:00
reader.py gh-133346: Make theming support in _colorize extensible (GH-133347) 2025-05-05 23:45:25 +02:00
readline.py [3.14] gh-131189: Fix "msvcrt" import warning on Linux when "_ctypes" is not available. (GH-131201) (GH-136668) 2025-07-15 10:12:45 +02:00
simple_interact.py [3.14] gh-134869: Fix Ctrl+C corrupts REPL autocomplete (GH-134929) (#137926) 2025-08-18 22:21:55 +01:00
terminfo.py [3.14] gh-135621: Simplify TermInfo (GH-136916) (#136925) 2025-07-21 18:04:13 +02:00
trace.py [3.14] gh-124621: Emscripten: Support pyrepl in browser (GH-136931) (GH-136988) 2025-07-22 15:04:11 +02:00
types.py gh-131507: Refactor screen and cursor position calculations (GH-131547) 2025-03-21 18:27:35 +01:00
unix_console.py [3.14] gh-134466: Don't run when termios is inaccessible (GH-138911) (GH-139029) 2025-10-07 22:15:56 +02:00
unix_eventqueue.py [3.14] gh-135621: Remove dependency on curses from PyREPL (GH-136758) (GH-136915) 2025-07-21 13:02:41 +02:00
utils.py [3.14] gh-134953: Make the True/False/None check more efficient (GH-138931) (#138939) 2025-09-29 21:11:41 +01:00
windows_console.py [3.14] GH-130328: Speedup pasting in legacy console on Windows (gh-133728) (#134653) 2025-05-25 15:54:28 +02:00
windows_eventqueue.py gh-124096: Enable REPL virtual terminal support on Windows (#124119) 2025-02-23 20:30:33 +01:00