Skip to content

Commit

Permalink
pythongh-122759: Remove assert from RERAISE error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn committed Aug 6, 2024
1 parent 4767a6e commit d4b2214
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion Python/bytecodes.c
Original file line number Diff line number Diff line change
Expand Up @@ -1182,7 +1182,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();
}
Expand Down
1 change: 0 additions & 1 deletion Python/generated_cases.c.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d4b2214

Please sign in to comment.