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

Serhiy Storchaka storchaka at gmail.com
Thu Nov 20 21:13:48 CET 2014


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"?




More information about the Python-Dev mailing list