You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Update tp_finalize example to use PyErr_GetRaisedException #131117
The tp_finalize C API doc currently uses the older PyErr_Fetch + PyErr_Restore API to stash the current exception in its sample implementation. That API was deprecated in 3.12.
changed the title [-]Update tp_finalize example to use non-deprecated API PyErr_GetRaisedException[/-][+]Update tp_finalize example to use PyErr_GetRaisedException[/+]on Mar 12, 2025
Documentation
The
tp_finalizeC API doc currently uses the older PyErr_Fetch + PyErr_Restore API to stash the current exception in its sample implementation. That API was deprecated in 3.12.Update the example to use the suggested replacement PyErr_GetRaisedException and PyErr_SetRaisedException
Linked PRs