[Python-checkins] [3.11] GH-93516: Drop broken assert, fixes GH-93769 (GH-94411)
markshannon
webhook-mailer at python.org
Wed Jun 29 08:54:28 EDT 2022
https://github.com/python/cpython/commit/9140c413d03080f12066b6f7f23f8c92543b5ded
commit: 9140c413d03080f12066b6f7f23f8c92543b5ded
branch: 3.11
author: Christian Heimes <christian at python.org>
committer: markshannon <mark at hotpy.org>
date: 2022-06-29T13:53:56+01:00
summary:
[3.11] GH-93516: Drop broken assert, fixes GH-93769 (GH-94411)
files:
M Python/ceval.c
diff --git a/Python/ceval.c b/Python/ceval.c
index 2d794837ce3d7..00fb02718d8a3 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -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();
More information about the Python-checkins
mailing list