summaryrefslogtreecommitdiffstats
path: root/Lib/_pyrepl/historical_reader.py
Commit message (Collapse)AuthorAgeFilesLines
* [3.13] gh-123024: Correctly prepare/restore around help and show-history ↵Miss Islington (bot)2025-01-211-7/+11
| | | | | | | | | | commands (GH-124485) (#129155) gh-123024: Correctly prepare/restore around help and show-history commands (GH-124485) (cherry picked from commit 5a9afe23620aadea30013076d64686be8bf66f7e) Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com> Co-authored-by: Emily Morehouse <emily@cuttlesoft.com> Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
* [3.13] gh-124027: Support Del, PgUp, and PgDn on TERM=vt100 (GH-124028) ↵Miss Islington (bot)2024-09-131-0/+2
| | | | | | | | | | | | | | | | | | (#124029) gh-124027: Support Del, PgUp, and PgDn on TERM=vt100 (GH-124028) pyrepl: Support Del, PgUp, and PgDn on TERM=vt100 From Fedora's /etc/inputrc: "\e[5~": history-search-backward "\e[6~": history-search-forward "\e[3~": delete-char Fixes https://github.com/python/cpython/issues/124027 (cherry picked from commit f4e5643df64d0c2a009ed224560044b3409a47c0) Co-authored-by: Miro Hrončok <miro@hroncok.cz>
* [3.13] gh-119034, REPL: Change page up/down keys to search in history ↵Miss Islington (bot)2024-09-061-2/+69
| | | | | | | | | | | (GH-123607) (GH-123773) Change <page up> and <page down> keys of the Python REPL to history search forward/backward. (cherry picked from commit 8311b11800509c975023e062e2c336f417c5e4c0) Co-authored-by: Victor Stinner <vstinner@python.org> Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* [3.13] gh-121499: Fix multi-line history rendering in the REPL (GH-121531) ↵Miss Islington (bot)2024-07-131-0/+1
| | | | | | | | | (#121679) gh-121499: Fix multi-line history rendering in the REPL (GH-121531) (cherry picked from commit 4b9e10d0ea352592049c1f2a00318d7274143fa4) Signed-off-by: Pablo Galindo <pablogsal@gmail.com> Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
* [3.13] gh-120417: Remove unused imports in the stdlib (GH-120420) (#120429)Miss Islington (bot)2024-06-121-1/+1
| | | | | | gh-120417: Remove unused imports in the stdlib (GH-120420) (cherry picked from commit 4c6d4f5cb33e48519922d635894eef356faddba2) Co-authored-by: Victor Stinner <vstinner@python.org>
* [3.13] gh-118911: Trailing whitespace in a block shouldn't prevent the user ↵Lysandros Nikolaou2024-05-231-1/+1
| | | | | | | | from terminating the code block (GH-119355) (#119404) (cherry picked from commit 5091c4400c9ea2a2d1e4d89a28c9d0de2651fa6d) Co-authored-by: Aya Elsayed <ayah.ehab11@gmail.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* gh-111201: A new Python REPL (GH-111567)Pablo Galindo Salgado2024-05-051-0/+345
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>