On May 15, 2008, at 7:57 PM, Greg Ewing wrote:

> Robert Bradshaw wrote:
>> In the very near term, I am swamped with non-cython related stuff,
>> but plan to do generator support (and closures in general) before or
>> during dev days this June.
>
> Do you have any ideas on how you intend to implement
> closures?

Yes. A closure well be represented by a special cdef class (specific  
to each closure), which will have its state in member variables  
(greatly simplifying garbage collection for instance).

- Robert

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

Reply via email to