You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
PYTHON_BASIC_REPL is ignored by interactive inspect #120346
3.13only security fixes3.14bugs and security fixestopic-replRelated to the interactive shelltriagedThe issue has been accepted as valid by a triager.type-bugAn unexpected behavior, bug, or error
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.
3.13only security fixes3.14bugs and security fixestopic-replRelated to the interactive shelltriagedThe issue has been accepted as valid by a triager.type-bugAn unexpected behavior, bug, or error
Activity
pablogsal commentedon Jun 11, 2024
On it
pythongh-120346: Respect PYTHON_BASIC_REPL when running in interactiv…
pythongh-120346: Respect PYTHON_BASIC_REPL when running in interactiv…
gh-120346: Respect PYTHON_BASIC_REPL when running in interactive insp…
pythongh-120346: Respect PYTHON_BASIC_REPL when running in interactiv…
[3.13] gh-120346: Respect PYTHON_BASIC_REPL when running in interacti…
pablogsal commentedon Jun 11, 2024
Fixed!
pythongh-120346: Respect PYTHON_BASIC_REPL when running in interactiv…
pythongh-120346: Respect PYTHON_BASIC_REPL when running in interactiv…