mirror of
https://github.com/python/cpython.git
synced 2025-08-23 10:16:01 +00:00
gh-76785: Fixes for test.support.interpreters (gh-112982)
This involves a number of changes for PEP 734.
This commit is contained in:
parent
f26bfe4b25
commit
86a77f4e1a
30 changed files with 2506 additions and 1507 deletions
|
@ -1216,7 +1216,7 @@ _PyInterpreterState_LookUpID(int64_t requested_id)
|
|||
HEAD_UNLOCK(runtime);
|
||||
}
|
||||
if (interp == NULL && !PyErr_Occurred()) {
|
||||
PyErr_Format(PyExc_RuntimeError,
|
||||
PyErr_Format(PyExc_InterpreterNotFoundError,
|
||||
"unrecognized interpreter ID %lld", requested_id);
|
||||
}
|
||||
return interp;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue