abc for generators?
Carl Banks
pavlovevidence at gmail.com
Wed May 19 20:04:16 EDT 2010
On May 19, 2:27 pm, Alan Franzoni <doesnotex... at franzoni.invalid>
wrote:
> On 5/19/10 7:24 PM, Carl Banks wrote:
>
> > collections.Iterator
>
> That would just support the next() method. But enhanced generators
> interface - supporting coroutines as well - include send(), throw() and
> close().
Hmm, don't know.
Maybe you could contribute one, it sounds like a rather
unobjectionable idea likely to be accepted into Python.
Carl Banks
More information about the Python-list
mailing list