8000 gh-124703: Change back to raising bdb.BdbQuit when exiting pdb in 'inline' mode in a REPL session by ADThomas-astro · Pull Request #130395 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-124703: Change back to raising bdb.BdbQuit when exiting pdb in 'inline' mode in a REPL session #130395

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

Merged
merged 14 commits into from
Feb 25, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Change word in comment
  • Loading branch information
ADThomas-astro committed Feb 22, 2025
commit 29951253939073efacbac55b5d8f933ec74069a5
2 changes: 1 addition & 1 deletion Lib/pdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -1759,7 +1759,7 @@ def do_quit(self, arg):
Quit from the debugger. The program being executed is aborted.
"""
# Show prompt to kill process when in 'inline' mode and if pdb was not
# started from an interactive console. The constant sys.ps1 is only
# started from an interactive console. The attribute sys.ps1 is only
# defined if the interpreter is in interactive mode.
if self.mode == 'inline' and not hasattr(sys, 'ps1'):
while True:
Expand Down
Loading
0