From 61a8bf28530558da239834785a0b590ae8900a16 Mon Sep 17 00:00:00 2001 From: sobolevn Date: Wed, 7 Aug 2024 17:25:25 +0300 Subject: gh-122759: Remove `assert` from `RERAISE` error handling (#122760) --- Python/bytecodes.c | 1 - 1 file changed, 1 deletion(-) (limited to 'Python/bytecodes.c') diff --git a/Python/bytecodes.c b/Python/bytecodes.c index e4c97dee1f8..d28cbd767e7 100644 --- a/Python/bytecodes.c +++ b/Python/bytecodes.c @@ -1183,7 +1183,6 @@ dummy_func( assert(!_PyErr_Occurred(tstate)); } else { - assert(PyLong_Check(lasti)); _PyErr_SetString(tstate, PyExc_SystemError, "lasti is not an int"); ERROR_NO_POP(); } -- cgit v1.2.3