Commit 6bd3f7b9 authored by Lisandro Dalcin's avatar Lisandro Dalcin

PyPy3: Fix bad call to PyErr_Fetch()

parent 9a708007
...@@ -215,7 +215,7 @@ static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb, PyObject ...@@ -215,7 +215,7 @@ static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb, PyObject
if (tb) { if (tb) {
#if CYTHON_COMPILING_IN_PYPY #if CYTHON_COMPILING_IN_PYPY
PyObject *tmp_type, *tmp_value, *tmp_tb; PyObject *tmp_type, *tmp_value, *tmp_tb;
PyErr_Fetch(tmp_type, tmp_value, tmp_tb); PyErr_Fetch(&tmp_type, &tmp_value, &tmp_tb);
Py_INCREF(tb); Py_INCREF(tb);
PyErr_Restore(tmp_type, tmp_value, tb); PyErr_Restore(tmp_type, tmp_value, tb);
Py_XDECREF(tmp_tb); Py_XDECREF(tmp_tb);
......
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