Skip to content

Commit c7310a1

Browse files
committed
Py_BuildValue should not cause a re-raise exceptions from functions called previously
1 parent 6f50f5b commit c7310a1

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

graalpython/com.oracle.graal.python.cext/src/modsupport.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -575,10 +575,6 @@ PyObject* _Py_BuildValue_SizeT(const char *format, ...) {
575575
return NULL;
576576
}
577577

578-
if (PyErr_Occurred()) {
579-
return NULL;
580-
}
581-
582578
switch (PyList_Size(v->list)) {
583579
case 0:
584580
return Py_None;

0 commit comments

Comments
 (0)