Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 61a8bf2

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

File tree

Expand file treeCollapse file tree

2 files changed

+0
-2
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+0
-2
lines changed

‎Python/bytecodes.c

Copy file name to clipboardExpand all lines: Python/bytecodes.c
-1Lines 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

Copy file name to clipboardExpand all lines: Python/generated_cases.c.h
-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.