From: Christian Heimes Date: Wed, 29 Jun 2022 12:53:56 +0000 (+0200) Subject: [3.11] GH-93516: Drop broken assert, fixes GH-93769 (GH-94411) X-Git-Tag: v3.11.0b4~63 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9140c413d03080f12066b6f7f23f8c92543b5ded;p=thirdparty%2FPython%2Fcpython.git [3.11] GH-93516: Drop broken assert, fixes GH-93769 (GH-94411) --- diff --git a/Python/ceval.c b/Python/ceval.c index 2d794837ce3d..00fb02718d8a 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -5611,10 +5611,6 @@ handle_eval_breaker: 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();