mirror of
https://github.com/python/cpython.git
synced 2026-05-06 12:49:07 -04:00
gh-122759: Remove assert from RERAISE error handling (#122760)
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user