SIGN IN SIGN UP

bpo-40048: Fix _PyCode_InitOpcache() error path (GH-19691)

If _PyCode_InitOpcache() fails in _PyEval_EvalFrameDefault(), use
"goto exit_eval_frame;" rather than "return NULL;" to exit the
function in a consistent state. For example, tstate->frame is now
reset properly.
V
Victor Stinner committed
25104949a5a60ff86c10691e184ce2ecb500159b
Parent: 9f27dd3
Committed by GitHub <noreply@github.com> on 4/24/2020, 12:43:18 AM