There was an error while loading. Please reload this page.
1 parent d97aef8 commit 848bdbeCopy full SHA for 848bdbe
2 files changed
Python/bytecodes.c
@@ -1842,7 +1842,7 @@ dummy_func(
1842
ERROR_IF(match == NULL, error);
1843
1844
if (!Py_IsNone(match)) {
1845
- PyErr_SetExcInfo(NULL, Py_NewRef(match), NULL);
+ PyErr_SetHandledException(match);
1846
}
1847
1848
Python/generated_cases.c.h
0 commit comments