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

Guido van Rossum guido at python.org
Thu Nov 20 23:04:24 CET 2014


On Thu, Nov 20, 2014 at 12:13 PM, Serhiy Storchaka <storchaka at gmail.com>
wrote:

> On 20.11.14 21:58, Antoine Pitrou wrote:
>
>> To me "generator_return" sounds like the addition to generator syntax
>> allowing for return statements (which was done as part of the "yield
>> from" PEP). How about "generate_escape"?
>>
>
> Or may be "generator_stop_iteration"?
>

Or just "generator_stop"?

-- 
--Guido van Rossum (python.org/~guido)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20141120/0e0732de/attachment.html>


More information about the Python-Dev mailing list