[Python-ideas] PEP 479: Change StopIteration handling inside generators

Chris Barker chris.barker at noaa.gov
Mon Nov 24 18:18:30 CET 2014


On Mon, Nov 24, 2014 at 9:06 AM, Chris Angelico <rosuav at gmail.com> wrote:

> I've done my "explain it twice, then shut up" on this subject, so I'll
> just point you to the list archive, where it's been stated clearly
> that generators are like __iter__, not like __next__. Please, could
> you respond to previously-given explanations, rather than simply
> restating that generators should be like __next__?


I'm not sure if I've responded or not to previously given explanations --
but  you're right, it's time for me to shut up having made my point, too.

-Chris



-- 

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20141124/a8af2146/attachment.html>


More information about the Python-ideas mailing list