How close is cython (0.12 and trunk or whatever cython calls trunk, or 
the cython-closures repository?) to supporting generators?

I have a performance-oriented project I'm working on, and cython seems 
like a good fit - except I really wanted it to have generators.  I'd 
happily eliminate monkey patching and nested scopes for cython's 
performance, if it just had generators.

I heard that cython will want "functional" closures first, then 
generators (but does "functional" here mean "'functional' as in 
'working'" or "'functional' as in 'functional programming'". Have the 
true closures been added?

Someone wrote that the requirements for adding generators are understood 
(it was probably in the cython FAQ).  Is there a list of these 
requirements written down somewhere?

Thanks!

PS: I tried building the cython-closures code, but it still gives an 
error on the 'yield' keyword, despite there appearing to be some 
yield-related code in there.


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

Reply via email to