Stefan Behnel added the comment:

Could we have type slots for the new special methods? Otherwise, implementing 
the protocol in C would be fairly inefficient, especially for async iteration.

I'm asking because Cython's generator type is not Python's generator type, but 
implementing the rest of the proposed protocol doesn't seem to be all that 


Python tracker <>
Python-bugs-list mailing list

Reply via email to