Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bpo-40048: Fix _PyCode_InitOpcache() error path (pythonGH-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.
- Loading branch information