summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_pyrepl/test_pyrepl.py
Commit message (Collapse)AuthorAgeFilesLines
* [3.13] gh-121016: Add test for PYTHON_BASIC_REPL envioronment variable ↵devdanzin2024-06-261-0/+25
| | | | | | | | | | | | (GH-121017) (#121064) * gh-121016: Add test for `PYTHON_BASIC_REPL` envioronment variable (#121017) (cherry picked from commit 9e45fd9858a059950f7387b4fda2b00df0e8e537) * [3.13] gh-121016: Add test for `PYTHON_BASIC_REPL` envioronment variable (GH-121017) (cherry picked from commit 9e45fd9858a059950f7387b4fda2b00df0e8e537) Co-authored-by: devdanzin <74280297+devdanzin@users.noreply.github.com>
* [3.13] gh-118908: Use __main__ for the default PyREPL namespace (GH-121054) ↵Miss Islington (bot)2024-06-261-6/+17
| | | | (#121059)
* [3.13] gh-120635: Avoid leaking processes in test_pyrepl (GH-120676) (#120741)Miss Islington (bot)2024-06-191-1/+1
| | | | | | | | | | gh-120635: Avoid leaking processes in test_pyrepl (GH-120676) If the child process takes longer than SHORT_TIMEOUT seconds to complete, kill the process but then wait until it completes with no timeout to not leak child processes. (cherry picked from commit 0f3e36454d754026d6c510053ff1e4b22ae80cd9) Co-authored-by: Victor Stinner <vstinner@python.org>
* [3.13] gh-118908: Protect the REPL subprocess with a timeout in tests ↵Miss Islington (bot)2024-06-121-1/+6
| | | | | | | (GH-120408) (#120430) (cherry picked from commit 3453362183f083e37ea866a7ae1b34147ffaf81d) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
* [3.13] gh-118908: Limit exposed globals from internal imports and ↵Miss Islington (bot)2024-06-111-2/+61
| | | | definitions on new REPL startup (GH-119547) (#120362)
* [3.13] gh-111201: Support pyrepl on Windows (GH-119559) (GH-119850)Miss Islington (bot)2024-05-311-2/+3
| | | | | | | | (cherry picked from commit 0d07182821fad7b95a043d006f1ce13a2d22edcb) Co-authored-by: Dino Viehland <dinoviehland@gmail.com> Co-authored-by: Anthony Shaw <anthony.p.shaw@gmail.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* [3.13] gh-111201: Improve pyrepl auto indentation (GH-119606) (GH-119833)Miss Islington (bot)2024-05-311-1/+80
| | | | | | | | - 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-111201: Speed up paste mode in the REPL (#119341) (GH-119432) ↵Miss Islington (bot)2024-05-231-1/+1
| | | | | | | | | | | | | | (#119439) (cherry picked from commit e6572e8f98d33994d2d0dd3afa92a2a72ee642a9) Also includes: * gh-111201: Use calc_complete_screen after bracketed paste in PyREPL (GH-119432) (cherry picked from commit 14b063cbf1bb11a489d04a31f277edba0fc8893c) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl> Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
* [3.13] gh-118911: Trailing whitespace in a block shouldn't prevent the user ↵Lysandros Nikolaou2024-05-231-5/+14
| | | | | | | | 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-111201: auto-indentation in _pyrepl (GH-119348) (#119427)Lysandros Nikolaou2024-05-221-55/+139
| | | | | | (cherry picked from commit cd516cd1f5e94dba887353f421513fd172efadf3) Co-authored-by: Arnon Yaari <wiggin15@yahoo.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* [3.13] gh-119205: Fix autocompletion bug in new repl (GH-119229) (#119407)Miss Islington (bot)2024-05-221-6/+24
| | | | | | (cherry picked from commit 506b1a3ff66a41c72d205c8e4cba574e439d8e76) Co-authored-by: Koudai Aono <koxudaxi@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/+639
(cherry picked from commit f49df4f486e531ff2666eb22854117c564b3de3d) Co-authored-by: Eugene Triguba <eugenetriguba@gmail.com>