[Python-ideas] Propagating StopIteration value

Terry Reedy tjreedy at udel.edu
Tue Oct 9 04:19:44 CEST 2012


On 10/8/2012 5:12 PM, Serhiy Storchaka wrote:
> On 08.10.12 05:40, Terry Reedy wrote:
>> Serhily, if you want a module of *generator* specific functions
>> ('gentools' ?), you should write one and submit it to pypi for testing.
>>
>
> In http://bugs.python.org/issue16150 there is proposed extending of
> itertools.chain to support generators (send(), throw() and close()
> methods). Is it wrong?

Yes

-- 
Terry Jan Reedy




More information about the Python-ideas mailing list