[Python-Dev] PEP 479: Change StopIteration handling inside generators (original) (raw)

Chris Angelico rosuav at gmail.com
Fri Nov 21 00:35:25 CET 2014


On Fri, Nov 21, 2014 at 9:04 AM, 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 "generatorreturn" sounds like the addition to generator syntax allowing for return statements (which was done as part of the "yield from" PEP). How about "generateescape"? Or may be "generatorstopiteration"? Or just "generatorstop"?

Unrelated to the GeneratorExit exception. I don't think that'll be a problem though.

ChrisA



More information about the Python-Dev mailing list