summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_pyrepl/test_interact.py
Commit message (Collapse)AuthorAgeFilesLines
* [3.13] gh-125666: Avoid PyREPL exiting when a null byte is in input ↵Miss Islington (bot)2024-12-021-0/+9
| | | | | | | | (GH-125732) (#126023) gh-125666: Avoid PyREPL exiting when a null byte is in input (GH-125732) (cherry picked from commit 44becb8cba677cbfdbcf2f7652277e5e1efc4f20) Co-authored-by: devdanzin <74280297+devdanzin@users.noreply.github.com>
* [3.13] gh-124960: Fixed `barry_as_FLUFL` future flag does not work in new ↵Nice Zombies2024-10-141-1/+26
| | | | | | | | | | | | REPL (#124999) (#125475) gh-124960: Fixed `barry_as_FLUFL` future flag does not work in new REPL (#124999) Co-authored-by: Wulian <xiguawulian@gmail.com> Co-authored-by: Nice Zombies <nineteendo19d0@gmail.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit 6a08a753b702ac63c9b6ac58dd204d1fe9662e9d)
* [3.13] gh-121804: Always show error location for SyntaxError's in new repl ↵Sergey B Kirpichev2024-08-191-0/+14
| | | | | (GH-121886) (#123148) (cherry picked from commit 354d55eb1fa40f272419aa6459ee5d2c4804c8ea)
* [3.13] gh-121610: pyrepl - handle extending blocks when multi-statement ↵Miss Islington (bot)2024-07-161-1/+102
| | | | | | | | | | | | | | | blocks are pasted (GH-121757) (GH-121825) console.compile with the "single" param throws an exception when there are multiple statements, never allowing to adding newlines to a pasted code block (gh-121610) This adds a few extra checks to allow extending when in an indented block, and tests for a few examples. (cherry picked from commit 7d111dac160c658b277ec0fac75eee8edcfbe9dc) Co-authored-by: saucoide <32314353+saucoide@users.noreply.github.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* [3.13] gh-118894: Make asyncio REPL use pyrepl (GH-119433) (#119884)Miss Islington (bot)2024-05-311-1/+1
| | | | | (cherry picked from commit 2237946af0981c46dc7d3886477e425ccfb37f28) Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* [3.13] gh-119555: catch SyntaxError from compile() in the ↵Miss Islington (bot)2024-05-291-0/+8
| | | | InteractiveColoredConsole (GH-119557) (#119709)
* [3.13] gh-119443: Turn off from __future__ import annotations in REPL ↵Miss Islington (bot)2024-05-291-0/+9
| | | | | | | | (GH-119493) (#119697) gh-119443: Turn off from __future__ import annotations in REPL (GH-119493) (cherry picked from commit a8e35e8ebad8c3bb44d14968aa05d1acbc028247) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* [3.13] gh-119469: Fix _pyrepl reference leaks (GH-119470) (#119471)Miss Islington (bot)2024-05-231-1/+5
| | | | | (cherry picked from commit 6e012ced6cc07a7502278e1849c5618d1ab54a08) Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* [3.13] gh-118893: Evaluate all statements in the new REPL separately ↵Miss Islington (bot)2024-05-221-0/+92
(GH-119318) (#119408) (cherry picked from commit a3e4fec8734a304d654e4ae24a4aa2f41a7b0640) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl>