summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_pyrepl/test_reader.py
Commit message (Collapse)AuthorAgeFilesLines
* [3.13] gh-119842: Honor PyOS_InputHook in the new REPL (GH-119843) (GH-120066)Łukasz Langa2024-06-041-0/+17
| | | | | | | (cherry picked from commit d9095194dde27eaabfc0b86a11989cdb9a2acfe1) Signed-off-by: Pablo Galindo <pablogsal@gmail.com> Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com> Co-authored-by: Michael Droettboom <mdboom@gmail.com>
* [3.13] gh-119553: Clear reader on Ctrl-C command (GH-119801) (#120062)Miss Islington (bot)2024-06-041-0/+16
| | | | | | (cherry picked from commit 010ea93b2b888149561becefeee90826bf8a2934) Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* [3.13] gh-120041: Do not use append_to_screen when completions are visible ↵Miss Islington (bot)2024-06-041-1/+36
| | | | | | | | | | | | (GH-120042) (#120051) * gh-120041: Do not use append_to_screen when completions are visible (GH-120042) (cherry picked from commit 8fc7653766b106bdbc4ff6154e0020aea4ab15e6) * gh-120041: Refactor check for visible completion menu in completing_reader (GH-120055) (cherry picked from commit bf8e5e53d0c359a1f9c285d855e7a5e9b6d91375) --------- Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
* [3.13] gh-118835: pyrepl: Fix prompt length computation for custom prompts ↵Miss Islington (bot)2024-06-031-0/+32
| | | | | | | | containing ANSI escape codes (GH-119942) (#119990) gh-118835: pyrepl: Fix prompt length computation for custom prompts containing ANSI escape codes (GH-119942) (cherry picked from commit 2e0aa731aebb8ef3d89ada82f5d39b1bbac65d1f) Co-authored-by: Daniel Hollas <daniel.hollas@bristol.ac.uk>
* [3.13] gh-111201: Improve pyrepl auto indentation (GH-119606) (GH-119833)Miss Islington (bot)2024-05-311-2/+2
| | | | | | | | - auto-indent when editing multi-line block - ignore comments (cherry picked from commit dae0375bd97f3821c5db1602a0653a3c5dc53c5b) Co-authored-by: Arnon Yaari <wiggin15@yahoo.com>
* [3.13] gh-118911: Trailing whitespace in a block shouldn't prevent the user ↵Lysandros Nikolaou2024-05-231-1/+44
| | | | | | | | 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>
* [3.13] gh-119306: Break up _pyrepl tests (GH-119307) (#119362)Lysandros Nikolaou2024-05-221-0/+135
(cherry picked from commit f49df4f486e531ff2666eb22854117c564b3de3d) Co-authored-by: Eugene Triguba <eugenetriguba@gmail.com>