mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 05:31:20 +00:00 
			
		
		
		
	|  73f77e642a 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 | ||