Commit e0fdd04e authored by Stefan Behnel's avatar Stefan Behnel

PyPy build fix

--HG--
extra : rebase_source : 43fb0224114142a1f34e2c9ee36a3f8513adb22e
parent 6b523ed3
...@@ -236,14 +236,14 @@ static int __Pyx_GetException(PyObject **type, PyObject **value, PyObject **tb) ...@@ -236,14 +236,14 @@ static int __Pyx_GetException(PyObject **type, PyObject **value, PyObject **tb)
tstate->exc_type = local_type; tstate->exc_type = local_type;
tstate->exc_value = local_value; tstate->exc_value = local_value;
tstate->exc_traceback = local_tb; tstate->exc_traceback = local_tb;
#else
PyErr_SetExcInfo(local_type, local_value, local_tb);
#endif
/* Make sure tstate is in a consistent state when we XDECREF /* Make sure tstate is in a consistent state when we XDECREF
these objects (XDECREF may run arbitrary code). */ these objects (DECREF may run arbitrary code). */
Py_XDECREF(tmp_type); Py_XDECREF(tmp_type);
Py_XDECREF(tmp_value); Py_XDECREF(tmp_value);
Py_XDECREF(tmp_tb); Py_XDECREF(tmp_tb);
#else
PyErr_SetExcInfo(local_type, local_value, local_tb);
#endif
return 0; return 0;
bad: bad:
*type = 0; *type = 0;
......
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