Skip to content

Commit a1ec06d

Browse files
committed
Drop assert, 3.11 does not have co_framesize from pythonGH-93908
1 parent 305cfe8 commit a1ec06d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Python/ceval.c

-2
Original file line numberDiff line numberDiff line change
@@ -6394,8 +6394,6 @@ _PyEvalFrameClearAndPop(PyThreadState *tstate, _PyInterpreterFrame * frame)
63946394
{
63956395
// Make sure that this is, indeed, the top frame. We can't check this in
63966396
// _PyThreadState_PopFrame, since f_code is already cleared at that point:
6397-
assert((PyObject **)frame + frame->f_code->co_framesize ==
6398-
tstate->datastack_top);
63996397
tstate->recursion_remaining--;
64006398
assert(frame->frame_obj == NULL || frame->frame_obj->f_frame == frame);
64016399
assert(frame->owner == FRAME_OWNED_BY_THREAD);

0 commit comments

Comments
 (0)