From d8d2e019ad66eff1b1343ee0d5c4ab10d2b255ce Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Wed, 27 Apr 2011 08:57:34 +0200 Subject: [PATCH] fix generators after raise-from merge --- Cython/Compiler/ExprNodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } """, -- 2.26.2