diff options
author | sobolevn <mail@sobolevn.me> | 2024-08-07 17:25:25 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-07 17:25:25 +0300 |
commit | 61a8bf28530558da239834785a0b590ae8900a16 (patch) | |
tree | 7c9f7d138b1e932daa526d7fe1de1d3d8401d54b /Python/bytecodes.c | |
parent | 76bdeebef6c6206f3e0af1e42cbfc75c51fbb8ca (diff) | |
download | cpython-61a8bf28530558da239834785a0b590ae8900a16.tar.gz cpython-61a8bf28530558da239834785a0b590ae8900a16.zip |
gh-122759: Remove `assert` from `RERAISE` error handling (#122760)
Diffstat (limited to 'Python/bytecodes.c')
-rw-r--r-- | Python/bytecodes.c | 1 |
1 files changed, 0 insertions, 1 deletions
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(); } |