commit | a486054b24658fa623e030ddd4cc0cbfcac54ab0 | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@python.org> | Fri Feb 19 15:08:54 2021 +0100 |
committer | GitHub <noreply@github.com> | Fri Feb 19 15:08:54 2021 +0100 |
tree | 54fc80da26c870385352958e0da434174bb87b2d | |
parent | acde3f1530f1664c9ec7f22e16a7f54c5191e4a6 [diff] |
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.