Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
Open
Description
Bug report
Bug description:
The API_PyErr_ChainExceptions1 has been removed from public headers as part ofthis change in Python 3.13 alpha. It is the only C API available to chain exceptions replacing_PyErr_ChainExceptions. That change was publicly documented in the3.12 whatsnew.
In my extemsion module I use_PyErr_ChainExceptions for exception chaining for Python <= 3.11 fromPEP 490 and_PyErr_ChainExceptions1for 3.12+.
Please provide an approved way for C extensions to continue to chain exceptions. The function is still present and I can duplicate the prototype for all to continue working, but that is not a desirable solution.
CPython versions tested on:
3.13
Operating systems tested on:
Linux