]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Support the "pager" binary in _pyrepl (#122878)
authorStefano Rivera <stefano@rivera.za.net>
Thu, 19 Sep 2024 13:18:24 +0000 (06:18 -0700)
committerGitHub <noreply@github.com>
Thu, 19 Sep 2024 13:18:24 +0000 (13:18 +0000)
commit426569eb8ca1edaa68026aa2bab6b8d1c9105f93
tree4f9683bd2d3f24630b19cb44d03e1bf7896690c1
parent4420cf4dc9ef7bd3c1c9b5465fa9397304bf0110
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
Lib/_pyrepl/pager.py
Misc/NEWS.d/next/Core_and_Builtins/2024-09-19-13-17-31.gh-issue-122878.4iFpsB.rst [new file with mode: 0644]