← 返回首页
gh-76785: Raise InterpreterError, Not RuntimeError by ericsnowcurrently · Pull Request #117489 · python/cpython · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

gh-76785: Raise InterpreterError, Not RuntimeError#117489

Merged
ericsnowcurrently merged 5 commits into
python:mainfrom
ericsnowcurrently:raise-interpretererror-not-runtimeerror
Apr 3, 2024
Merged

gh-76785: Raise InterpreterError, Not RuntimeError#117489
ericsnowcurrently merged 5 commits into
python:mainfrom
ericsnowcurrently:raise-interpretererror-not-runtimeerror

Conversation

ericsnowcurrently commented Apr 2, 2024
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

I had meant to switch to InterpreterError a while back. At the time I missed a few key spots.

As part of this, I've added print-the-exception to _PyXI_InitTypes() and fixed an error case in `_PyStaticType_InitBuiltin().

ericsnowcurrently merged commit 976bcb2 into python:main Apr 3, 2024
ericsnowcurrently deleted the raise-interpretererror-not-runtimeerror branch April 3, 2024 16:58
diegorusso pushed a commit to diegorusso/cpython that referenced this pull request Apr 17, 2024
…7489) I had meant to switch everything to InterpreterError when I added it a while back. At the time I missed a few key spots. As part of this, I've added print-the-exception to _PyXI_InitTypes() and fixed an error case in `_PyStaticType_InitBuiltin().
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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

Footer

© 2026 GitHub, Inc.