Skip to content

gh-149309: Use BaseException as BdbQuit's base class#149337

Open
gaogaotiantian wants to merge 4 commits intopython:mainfrom
gaogaotiantian:bdb-quit
Open

gh-149309: Use BaseException as BdbQuit's base class#149337
gaogaotiantian wants to merge 4 commits intopython:mainfrom
gaogaotiantian:bdb-quit

Conversation

@gaogaotiantian
Copy link
Copy Markdown
Member

@gaogaotiantian gaogaotiantian commented May 3, 2026

bdb relies on BdbQuit to quit programs. pdb uses it for non-inline mode as well. However, BdbQuit can be caught by except Exception, which is not ideal. It should behave like SystemExit.

@gaogaotiantian gaogaotiantian requested a review from AA-Turner as a code owner May 3, 2026 22:51
@read-the-docs-community
Copy link
Copy Markdown

read-the-docs-community Bot commented May 3, 2026

Documentation build overview

📚 cpython-previews | 🛠️ Build #32521252 | 📁 Comparing 8e69950 against main (68fe899)

  🔍 Preview build  

28 files changed · ± 28 modified

± Modified

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant