summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2022-06-29 12:53:56 (GMT)
committerGitHub <noreply@github.com>2022-06-29 12:53:56 (GMT)
commit9140c413d03080f12066b6f7f23f8c92543b5ded (patch)
tree11998aac570e3d7f7d158931bac5e83fb63b9413 /Python
parent0122ab235b5acb52dd99fd05d8802a00f438b828 (diff)
downloadcpython-9140c413d03080f12066b6f7f23f8c92543b5ded.zip
cpython-9140c413d03080f12066b6f7f23f8c92543b5ded.tar.gz
cpython-9140c413d03080f12066b6f7f23f8c92543b5ded.tar.bz2
[3.11] GH-93516: Drop broken assert, fixes GH-93769 (GH-94411)
Diffstat (limited to 'Python')
-rw-r--r--Python/ceval.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index 2d79483..00fb027 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();