Closed
Description
Bug report
Bug description:
The code in pymain_repl()
in "Modules/main.c" needs to check _Py_GetEnv(config->use_environment, "PYTHON_BASIC_REPL")
. Otherwise running with -i
, or with PYTHONINSPECT
set in the environment, ends up running the new REPL instead of the basic REPL after the command or script finishes.
Lines 545 to 550 in 02c1dff
CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux