Vitja Makarov, 03.12.2010 14:27:
> Stefan Behnel (from trac):
>> Why not have a method generate_lambda_definitions() somewhere up the AST 
>> hierarchy? Maybe in BlockNode? You could just pass in the relevant scope 
>> explicitly.
>
> I've updated patch. Now all lambdas are defined in
> BlockNode.generate_lambda_definitions()

Yes, that's much cleaner. Time to ask Hudson.

http://hg.cython.org/cython-devel/rev/067bda3960e4


> This patch (I tried with function-redefine applied) gives about ~+300
> pyregr tests ;)

Cool. :)

Stefan
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to