mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
bpo-46219, 46221: simplify except* implementation following exc_info changes. Move helpers to exceptions.c. Do not assume that exception groups are truthy. (GH-30289)
This commit is contained in:
parent
8e75c6b49b
commit
65e7c1f90e
9 changed files with 179 additions and 149 deletions
|
@ -87,9 +87,9 @@ PyAPI_FUNC(PyObject *) _PyExc_CreateExceptionGroup(
|
|||
const char *msg,
|
||||
PyObject *excs);
|
||||
|
||||
PyAPI_FUNC(PyObject *) _PyExc_ExceptionGroupProjection(
|
||||
PyObject *left,
|
||||
PyObject *right);
|
||||
PyAPI_FUNC(PyObject *) _PyExc_PrepReraiseStar(
|
||||
PyObject *orig,
|
||||
PyObject *excs);
|
||||
|
||||
PyAPI_FUNC(int) _PyErr_CheckSignalsTstate(PyThreadState *tstate);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue