Commit ca5d90ef authored by Alex Henrie's avatar Alex Henrie Committed by Stefan Behnel

Mark failures in Py_EnterRecursiveCall as unlikely (GH-3322)

parent 67b77198
...@@ -2195,7 +2195,7 @@ static PyObject *__Pyx_PyFunction_FastCallDict(PyObject *func, PyObject **args, ...@@ -2195,7 +2195,7 @@ static PyObject *__Pyx_PyFunction_FastCallDict(PyObject *func, PyObject **args,
assert(kwargs == NULL || PyDict_Check(kwargs)); assert(kwargs == NULL || PyDict_Check(kwargs));
nk = kwargs ? PyDict_Size(kwargs) : 0; nk = kwargs ? PyDict_Size(kwargs) : 0;
if (Py_EnterRecursiveCall((char*)" while calling a Python object")) { if (unlikely(Py_EnterRecursiveCall((char*)" while calling a Python object"))) {
return NULL; return NULL;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment