-
-
Notifications
You must be signed in to change notification settings - Fork 30.7k
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
Change in pdb
behavior at exit from post-mortem debugger
#118714
Comments
I think we should make So we need to do something about the message - I'll work on that. This is a bug fix so it doesn't have to be merged before beta freeze. |
…reasonable (pythonGH-118725) (cherry picked from commit e245ed7) Co-authored-by: Tian Gao <gaogaotiantian@hotmail.com>
Should this still be open? |
Fixed in #118725 |
Bug report
Bug description:
In 3.12 and earlier, if user enters
quit
/exit
commands or does Ctrl-D,pdb
restarts script with corresponding message and exits only on repeatedquit
/exit
/Ctrl-D:Since fa18b0a only message is printed, but Python exits completely:
@gaogaotiantian, what's your opinion? Should we restore the old behavior or remove confusing message about "restart"? As I can see,
pdb
docs doesn't state explicitly whatquit
/exit
commands should do in post-mortem debugger.CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux
Linked PRs
The text was updated successfully, but these errors were encountered: