Skip to content

gh-76785: Raise InterpreterError, Not RuntimeError #117489

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

Conversation

ericsnowcurrently
Copy link
Member

@ericsnowcurrently ericsnowcurrently commented Apr 2, 2024

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 ericsnowcurrently merged commit 976bcb2 into python:main Apr 3, 2024
@ericsnowcurrently 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().
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