SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

72150 0 55 Python

bpo-43270: Remove private _PyErr_OCCURRED() macro (GH-24579)

Remove the private _PyErr_OCCURRED() macro: use the public
PyErr_Occurred() function instead.

CPython internals must use the internal _PyErr_Occurred(tstate)
function instead: it is the most efficient way to check if an
exception was raised.
V
Victor Stinner committed
a486054b24658fa623e030ddd4cc0cbfcac54ab0
Parent: acde3f1
Committed by GitHub <noreply@github.com> on 2/19/2021, 2:08:54 PM