Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 61a8bf2

Browse files
authored
gh-122759: Remove assert from RERAISE error handling (#122760)
1 parent 76bdeeb commit 61a8bf2

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

Python/bytecodes.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1183,7 +1183,6 @@ dummy_func(
11831183
assert(!_PyErr_Occurred(tstate));
11841184
}
11851185
else {
1186-
assert(PyLong_Check(lasti));
11871186
_PyErr_SetString(tstate, PyExc_SystemError, "lasti is not an int");
11881187
ERROR_NO_POP();
11891188
}

Python/generated_cases.c.h

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)