Commit Graph

7 Commits

Author SHA1 Message Date
Stan Ulbrych 087a5f6444 _pyrepl/pager.py: call less with --clear-screen (#146382) 2026-03-28 17:23:58 +00:00
Stefano Rivera 426569eb8c Support the "pager" binary in _pyrepl (#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
2024-09-19 13:18:24 +00:00
Victor Stinner 4c6d4f5cb3 gh-120417: Remove unused imports in the stdlib (#120420) 2024-06-12 20:56:42 +02:00
Thanos 05e1dce76d gh-119185: Fix typo in _pyrepl.pager: tempfilepager should be tempfile_pager (#118881)
Fix typo in `_pyrepl.pager`: `tempfilepager` should be `tempfile_pager`

The name with no underscore doesn't exist.
2024-05-20 10:31:43 -04:00
Alex Waygood 033f5c87f1 Improve pyrepl type-annotation coverage (#119081) 2024-05-17 06:13:24 -04:00
denballakh 040571f258 fix typo in _pyrepl.pager: plainpager -> plain_pager (#118675) 2024-05-06 22:56:28 +00:00
Pablo Galindo Salgado f27f8c790a gh-111201: A new Python REPL (GH-111567)
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
Co-authored-by: Marta Gómez Macías <mgmacias@google.com>
Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2024-05-05 21:32:23 +02:00