Even if the new REPL is disabled by setting PYTHON_BASIC_REPL=1 env var, the site module still loads it. I propose to make sure that it's not loaded in this case.
Moreover, PYTHON_BASIC_REPL should be ignored if -E or -I command line options are used.
Linked PRs