mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
gh-116809: Restore removed _PyErr_ChainExceptions1() function (#116900)
This commit is contained in:
parent
259dbc448d
commit
5e0a070dfe
3 changed files with 6 additions and 3 deletions
|
@ -88,6 +88,10 @@ typedef PyOSErrorObject PyEnvironmentErrorObject;
|
|||
typedef PyOSErrorObject PyWindowsErrorObject;
|
||||
#endif
|
||||
|
||||
/* Context manipulation (PEP 3134) */
|
||||
|
||||
PyAPI_FUNC(void) _PyErr_ChainExceptions1(PyObject *);
|
||||
|
||||
/* In exceptions.c */
|
||||
|
||||
PyAPI_FUNC(PyObject*) PyUnstable_Exc_PrepReraiseStar(
|
||||
|
|
|
@ -167,9 +167,6 @@ void _PyErr_FormatNote(const char *format, ...);
|
|||
|
||||
Py_DEPRECATED(3.12) extern void _PyErr_ChainExceptions(PyObject *, PyObject *, PyObject *);
|
||||
|
||||
// Export for '_zoneinfo' shared extension
|
||||
PyAPI_FUNC(void) _PyErr_ChainExceptions1(PyObject *);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
Restore removed private ``_PyErr_ChainExceptions1()`` function. Patch by
|
||||
Victor Stinner.
|
Loading…
Add table
Add a link
Reference in a new issue