-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Reusing the Python shell after using quit()
will keep running python commands
#22944
Comments
@karrtikr Is there way we know which Terminal instance(s) have opened/launched Python REPL? |
No, we can't directly tell if a terminal is a REPL as far as I know. Although VS Code does give us access to commands run in the terminal. So technically if "quit()" is run, we can know that. |
Monitoring that may be expensive though, so I suggest only doing it if enough users want this feature. |
Hey @anthonykim1, this issue might need further attention. @andreamah, you can help us out by closing this issue if the problem no longer exists, or adding more information. |
Because we have not heard back with the information we requested, we are closing this issue for now. If you are able to provide the info later on, then we will be happy to re-open this issue to pick up where we left off. Happy Coding! |
Testing #22926
shift+enter
on a line.quit()
in the python interpreter.shift+enter
on a line.In this case, I kept running

time.sleep(1)
in step 4 and 5.This is still in the Python shell, btw.
The text was updated successfully, but these errors were encountered: