Skip to content

Commit

Permalink
[3.11] GH-93516: Drop broken assert, fixes GH-93769 (GH-94411)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiran authored Jun 29, 2022
1 parent 0122ab2 commit 9140c41
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Python/ceval.c
Original file line number Diff line number Diff line change
Expand Up @@ -5611,10 +5611,6 @@ _PyEval_EvalFrameDefault(PyThreadState *tstate, _PyInterpreterFrame *frame, int
if (tstate->tracing == 0 &&
INSTR_OFFSET() >= frame->f_code->_co_firsttraceable
) {
assert(
_PyOpcode_Deopt[first_instr[frame->f_code->_co_firsttraceable]]
== RESUME
);
int instr_prev = _PyInterpreterFrame_LASTI(frame);
frame->prev_instr = next_instr;
TRACING_NEXTOPARG();
Expand Down

0 comments on commit 9140c41

Please sign in to comment.