From: Stefan Behnel Date: Wed, 27 Apr 2011 06:57:34 +0000 (+0200) Subject: fix generators after raise-from merge X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d8d2e019ad66eff1b1343ee0d5c4ab10d2b255ce;p=cython.git fix generators after raise-from merge --- diff --git a/Cython/Compiler/ExprNodes.py b/Cython/Compiler/ExprNodes.py index 5a5f0c2c..496aa461 100755 --- a/Cython/Compiler/ExprNodes.py +++ b/Cython/Compiler/ExprNodes.py @@ -8641,7 +8641,7 @@ static PyObject *__Pyx_Generator_Throw(PyObject *self, PyObject *args, CYTHON_UN if (!PyArg_UnpackTuple(args, (char *)"throw", 1, 3, &typ, &val, &tb)) return NULL; - __Pyx_Raise(typ, val, tb); + __Pyx_Raise(typ, val, tb, NULL); return __Pyx_Generator_SendEx(generator, NULL); } """,