The callback signature for PY_THROW is inconsistent with the other exception handling callbacks
#107724
Labels
PY_THROW is inconsistent with the other exception handling callbacks
#107724
The callbacks for
RAISE,RERAISE,EXCEPTION_HANDLED,PY_UNWINDandSTOP_ITERATIONall take the exception as their third argument.PY_THROWis the odd one out, but it should be consistent with the others.PY_THROWis a rare event, so this got overlooked. We should fix it before the next release of 3.12.Fortunately it is very easy to fix.
The text was updated successfully, but these errors were encountered: