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

Chris Angelico rosuav at gmail.com
Sun Nov 16 02:21:48 CET 2014


On Sun, Nov 16, 2014 at 11:49 AM, Rob Cliffe <rob.cliffe at btinternet.com> wrote:
> On 15/11/2014 09:29, Chris Angelico wrote:
>>
>> PEP: 479
>> Title: Change StopIteration handling inside generators
>
> Thanks Chris for volunteering to do the donkey work again.
> I think the final draft of the PEP would be much more comprehensible and
> useful if it contained one or more examples illustrating how the old and new
> behaviour differ.  I realise that this may not be appropriate until a
> consensus has been reached on what exactly the new behaviour *is*, so
> apologies if my grandmother already intends to suck this particular egg.

Agreed. And agreed on the analysis; I can't add examples till I know
for sure what I'm adding examples _of_. The latest edit expanded on
the details of the proposals, so it now may be possible to consider
examples, but possibly we're still bikeshedding the nature of the
proposals themselves.

Correction. We're DEFINITELY still bikeshedding etc etc, but possibly
we're still doing so to the extent that it's not worth adding examples
yet. :)

ChrisA


More information about the Python-ideas mailing list