The condition if not os.getenv("PYTHON_BASIC_REPL") is inverted, causing _pyrepl to be enabled when the env var is set and disabled when it's not set.
CPython main branch
Windows
gh-149173: Fix inverted PYTHON_BASIC_REPL environment check in _pyrep…
Activity
gh-149173: Fix inverted PYTHON_BASIC_REPL environment check in _pyrep…