A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2014-November/137004.html below:

Change StopIteration handling inside generators

[Python-Dev] PEP 479: Change StopIteration handling inside generators [Python-Dev] PEP 479: Change StopIteration handling inside generatorsGuido van Rossum guido at python.org
Fri Nov 21 00:44:29 CET 2014
On Thu, Nov 20, 2014 at 3:13 PM, Antoine Pitrou <solipsis at pitrou.net> wrote:

> On Thu, 20 Nov 2014 14:04:24 -0800
> Guido van Rossum <guido at python.org> wrote:
>
> > 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"?
>
> That sounds good.
>

OK, updated the PEP.

-- 
--Guido van Rossum (python.org/~guido)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20141120/cee58ec6/attachment-0001.html>
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4