Skip to content

Commit 56413ae

Browse files
fixup
1 parent f89f147 commit 56413ae

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Python/bytecodes.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5297,7 +5297,7 @@ dummy_func(
52975297
frame = tstate->current_frame = dying->previous;
52985298
_PyEval_FrameClearAndPop(tstate, dying);
52995299
frame->return_offset = 0;
5300-
if (frame == &entry_frame) {
5300+
if (frame->owner == FRAME_OWNED_BY_INTERPRETER) {
53015301
/* Restore previous frame and exit */
53025302
tstate->current_frame = frame->previous;
53035303
tstate->c_recursion_remaining += PY_EVAL_C_STACK_UNITS;

Python/generated_cases.c.h

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)