[3.11] GH-93516: Drop broken assert, fixes GH-93769 (GH-94411)

This commit is contained in:
Christian Heimes 2022-06-29 14:53:56 +02:00 committed by GitHub
parent 0122ab235b
commit 9140c413d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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();