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
The callback signature for PY_THROW is inconsistent with the other exception handling callbacks #107724
The callbacks for RAISE, RERAISE, EXCEPTION_HANDLED, PY_UNWIND and STOP_ITERATION all take the exception as their third argument. PY_THROW is the odd one out, but it should be consistent with the others. PY_THROW is a rare event, so this got overlooked. We should fix it before the next release of 3.12.
Activity
pythonGH-107724: Fix the signature of `PY_THROW` callback functions. (p…
GH-107724: Fix the signature of `PY_THROW` callback functions. (GH-10…
[3.12] GH-107724: Fix the signature of `PY_THROW` callback functions. (…
kumaraditya303 commentedon Aug 20, 2023
Closed as backport is merged.