mirror of
https://github.com/python/cpython.git
synced 2025-08-02 08:02:56 +00:00
![]() 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
|
||
---|---|---|
.. | ||
__init__.py | ||
__main__.py | ||
support.py | ||
test_input.py | ||
test_interact.py | ||
test_keymap.py | ||
test_pyrepl.py | ||
test_reader.py | ||
test_unix_console.py | ||
test_unix_eventqueue.py | ||
test_windows_console.py |