fix generators after raise-from merge
authorStefan Behnel <scoder@users.berlios.de>
Wed, 27 Apr 2011 06:57:34 +0000 (08:57 +0200)
committerStefan Behnel <scoder@users.berlios.de>
Wed, 27 Apr 2011 06:57:34 +0000 (08:57 +0200)
Cython/Compiler/ExprNodes.py

index 5a5f0c2c07280a33d5870abc0f8e918315140a40..496aa461f1823da1932dcf43c974d30463856f94 100755 (executable)
@@ -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);
 }
 """,