Commit 46e515ea authored by Stefan Behnel's avatar Stefan Behnel

fix for 'raise' decref bug unter Python <= 2.4 in error case

parent 584da2d8
......@@ -3544,6 +3544,7 @@ static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb) {
Py_INCREF(type);
}
else {
type = 0;
PyErr_SetString(PyExc_TypeError,
"raise: exception must be an old-style class or instance");
goto raise_error;
......
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