-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
PYTHON_BASIC_REPL is ignored by interactive inspect #120346
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
3.13
bugs and security fixes
3.14
bugs and security fixes
topic-repl
Related to the interactive shell
triaged
The issue has been accepted as valid by a triager.
type-bug
An unexpected behavior, bug, or error
Comments
On it |
pablogsal
added a commit
to pablogsal/cpython
that referenced
this issue
Jun 11, 2024
pablogsal
added a commit
to pablogsal/cpython
that referenced
this issue
Jun 11, 2024
pablogsal
added a commit
that referenced
this issue
Jun 11, 2024
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Jun 11, 2024
…e inspect mode (pythonGH-120349) (cherry picked from commit ec3af29) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
lysnikolaou
pushed a commit
that referenced
this issue
Jun 11, 2024
Fixed! |
mrahtz
pushed a commit
to mrahtz/cpython
that referenced
this issue
Jun 30, 2024
noahbkim
pushed a commit
to hudson-trading/cpython
that referenced
this issue
Jul 11, 2024
estyxx
pushed a commit
to estyxx/cpython
that referenced
this issue
Jul 17, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
3.13
bugs and security fixes
3.14
bugs and security fixes
topic-repl
Related to the interactive shell
triaged
The issue has been accepted as valid by a triager.
type-bug
An unexpected behavior, bug, or error
Uh oh!
There was an error while loading. Please reload this page.
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 withPYTHONINSPECT
set in the environment, ends up running the new REPL instead of the basic REPL after the command or script finishes.cpython/Modules/main.c
Lines 545 to 550 in 02c1dff
CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux
Linked PRs
The text was updated successfully, but these errors were encountered: