]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-76785: Raise InterpreterError, Not RuntimeError (gh-117489)
authorEric Snow <ericsnowcurrently@gmail.com>
Wed, 3 Apr 2024 16:58:39 +0000 (10:58 -0600)
committerGitHub <noreply@github.com>
Wed, 3 Apr 2024 16:58:39 +0000 (10:58 -0600)
commit976bcb2379709da57073a9e07b518ff51daa617a
tree66fca9084cbae6c0b503491f627829d703df19bc
parent7ecd55d604a8fa287c1d131cac14d10260be826b
gh-76785: Raise InterpreterError, Not RuntimeError (gh-117489)

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().
Lib/test/support/interpreters/__init__.py
Lib/test/test__xxsubinterpreters.py
Lib/test/test_interpreters/test_api.py
Modules/_xxsubinterpretersmodule.c
Objects/typeobject.c
Python/crossinterp.c
Python/crossinterp_exceptions.h
Python/pystate.c