cpython/Lib/test/test_pyrepl
Victor Stinner 5df6a756a5
[3.13] gh-125096: Don't import _pyrepl in site if PYTHON_BASIC_REPL (#125097) (#125111)
gh-125096: Don't import _pyrepl in site if PYTHON_BASIC_REPL (#125097)

If the PYTHON_BASIC_REPL environment variable is set, the site module
no longer imports the _pyrepl module.

Moreover, the site module now respects -E and -I command line
options: ignore PYTHON_BASIC_REPL in this case.

(cherry picked from commit 65ce228d63)
2024-10-08 14:20:05 +00:00
..
__init__.py [3.13] gh-111201: Support pyrepl on Windows (GH-119559) (GH-119850) 2024-05-31 17:18:28 +02:00
__main__.py
support.py [3.13] gh-120221: Support KeyboardInterrupt in asyncio REPL (GH-123795) (#123799) 2024-09-06 22:25:19 +02:00
test_input.py
test_interact.py [3.13] gh-121804: Always show error location for SyntaxError's in new repl (GH-121886) (#123148) 2024-08-19 20:01:58 +01:00
test_keymap.py [3.13] gh-119357: Increase test coverage for keymap in _pyrepl (GH-119358) (#119414) 2024-05-22 23:13:01 +02:00
test_pyrepl.py [3.13] gh-125096: Don't import _pyrepl in site if PYTHON_BASIC_REPL (#125097) (#125111) 2024-10-08 14:20:05 +00:00
test_reader.py [3.13] gh-123177: Fix prompt for wrapped lines in pyrepl (GH-123324) (#123327) 2024-08-26 02:13:36 +01:00
test_unix_console.py [3.13] Use Cirrus M1 macOS runners for CI (GH-119979) (GH-119986) 2024-06-03 18:15:37 +02:00
test_unix_eventqueue.py [3.13] gh-111201: Support pyrepl on Windows (GH-119559) (GH-119850) 2024-05-31 17:18:28 +02:00
test_windows_console.py [3.13] Use Cirrus M1 macOS runners for CI (GH-119979) (GH-119986) 2024-06-03 18:15:37 +02:00