Issue #19437: Fix PyObject_CallFunction(), handle Py_VaBuildValue() and

PyTuple_New() failure
This commit is contained in:
Victor Stinner 2013-10-29 19:29:52 +01:00
parent f38a5c28e0
commit 0b0c867178
1 changed files with 2 additions and 0 deletions

View File

@ -2144,6 +2144,8 @@ PyObject_CallFunction(PyObject *callable, const char *format, ...)
}
else
args = PyTuple_New(0);
if (args == NULL)
return NULL;
return call_function_tail(callable, args);
}