cpython/Lib/_pyrepl
Miss Islington (bot) 9e218afc85
[3.13] Support the "pager" binary in _pyrepl (GH-122878) (#124242)
Support the "pager" binary in _pyrepl (GH-122878)

Debian (and derivatives) provide a /usr/bin/pager binary, managed by the
alternatives system, that always points to an available pager utility.
Allow _pyrepl to use it, to follow system policy.

This is a very trivial change, from a patch that Debian has been
carrying since 2.7 era. Seems appropriate to upstream.
https://bugs.debian.org/799555
(cherry picked from commit 426569eb8c)

Co-authored-by: Stefano Rivera <stefano@rivera.za.net>
Co-authored-by: T. Wouters <thomas@python.org>
2024-10-07 23:45:43 +02:00
..
__init__.py
__main__.py [3.13] gh-120678: pyrepl: Include globals from modules passed with -i (GH-120904) (#121916) 2024-07-17 16:52:46 +02:00
_minimal_curses.py [3.13] Improve pyrepl type-annotation coverage (GH-119081) (#119415) 2024-05-22 18:38:32 +00:00
_threading_handler.py [3.13] gh-120221: Support KeyboardInterrupt in asyncio REPL (GH-123795) (#123799) 2024-09-06 22:25:19 +02:00
commands.py [3.13] gh-119517: Fixes for pasting in pyrepl (GH-120253) (#120353) 2024-06-11 17:09:28 +00:00
completing_reader.py [3.13] gh-119517: Fixes for pasting in pyrepl (GH-120253) (#120353) 2024-06-11 17:09:28 +00:00
console.py [3.13] gh-82378 fix sys.tracebacklimit in pyrepl, approach 2 (GH-123062) (#123252) 2024-08-23 12:59:08 +01:00
curses.py
fancy_termios.py
historical_reader.py [3.13] gh-124027: Support Del, PgUp, and PgDn on TERM=vt100 (GH-124028) (#124029) 2024-09-13 01:36:34 +00:00
input.py [3.13] Improve pyrepl type-annotation coverage (GH-119081) (#119415) 2024-05-22 18:38:32 +00:00
keymap.py [3.13] gh-119357: Increase test coverage for keymap in _pyrepl (GH-119358) (#119414) 2024-05-22 23:13:01 +02:00
main.py [3.13] gh-121957: Emit audit events for python -i and python -m asyncio (GH-121958) (GH-122115) 2024-07-22 13:36:57 +02:00
mypy.ini [3.13] Enable some stricter mypy settings on Lib/_pyrepl (GH-119077) (#119428) 2024-05-22 23:13:47 +02:00
pager.py [3.13] Support the "pager" binary in _pyrepl (GH-122878) (#124242) 2024-10-07 23:45:43 +02:00
reader.py [3.13] gh-124027: Support Del, PgUp, and PgDn on TERM=vt100 (GH-124028) (#124029) 2024-09-13 01:36:34 +00:00
readline.py [3.13] gh-119310: Fix encoding when reading old history file (GH-121779) (#123784) 2024-09-06 16:23:47 +02:00
simple_interact.py [3.13] gh-123856: Fix PyREPL failure when a keyboard interrupt is triggered after using a history search (GH-124396) (#124530) 2024-09-26 13:39:01 -07:00
trace.py
types.py
unix_console.py [3.13] gh-120221: Support KeyboardInterrupt in asyncio REPL (GH-123795) (#123799) 2024-09-06 22:25:19 +02:00
unix_eventqueue.py
utils.py [3.13] gh-119896: Fix CTRL-Z behavior in the new REPL on Windows (GH-122217) (#122451) 2024-07-30 12:34:22 -07:00
windows_console.py [3.13] gh-124628: Pyrepl inputs on Windows shouldn't always be blocking reads (GH-124629) (#124638) 2024-09-27 11:45:06 -07:00