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

2014年11月20日 15:04:28 -0800

On 11/20/2014 5:04 PM, Guido van Rossum wrote:
On Thu, Nov 20, 2014 at 12:13 PM, Serhiy Storchaka <[email protected]
<mailto:[email protected]>> 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"?
+1
About as sort as we could get for the informed user reader and neutrally cryptic so a naive reader will know to look it up rather than guess (wrongly)
--
Terry Jan Reedy
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to