]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] GH-93516: Drop broken assert, fixes GH-93769 (GH-94411)
authorChristian Heimes <christian@python.org>
Wed, 29 Jun 2022 12:53:56 +0000 (14:53 +0200)
committerGitHub <noreply@github.com>
Wed, 29 Jun 2022 12:53:56 +0000 (13:53 +0100)
Python/ceval.c

index 2d794837ce3d7e9c0f7ed9c1441ec65d9770af13..00fb02718d8a3795b5d091a70c9f1447cb57dd29 100644 (file)
@@ -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();