From: Vitja Makarov Date: Sat, 29 Jan 2011 12:03:28 +0000 (+0300) Subject: Lambdas are generated inside GeneratorDefNode while inner functions in GeneratorBodyD... X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3f34de4e709170d6481f88f61037baddde0e5370;p=cython.git Lambdas are generated inside GeneratorDefNode while inner functions in GeneratorBodyDefNode --- diff --git a/Cython/Compiler/Nodes.py b/Cython/Compiler/Nodes.py index 824d9f9c..128fefe0 100644 --- a/Cython/Compiler/Nodes.py +++ b/Cython/Compiler/Nodes.py @@ -2983,8 +2983,6 @@ class GeneratorBodyDefNode(DefNode): # Generate closure function definitions self.body.generate_function_definitions(lenv, code) - # generate lambda function definitions - self.generate_lambda_definitions(lenv, code) # Generate C code for header and body of function code.enter_cfunc_scope()