A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2010-July/102356.html below:

[Python-Dev] PEP 380 - return value question and prototype implementation (was Thoughts fresh after EuroPython)

[Python-Dev] PEP 380 - return value question and prototype implementation (was Thoughts fresh after EuroPython) [Python-Dev] PEP 380 - return value question and prototype implementation (was Thoughts fresh after EuroPython)Terry Reedy tjreedy at udel.edu
Mon Jul 26 01:11:47 CEST 2010
On 7/24/2010 11:21 PM, Guido van Rossum wrote:
> On Sat, Jul 24, 2010 at 6:51 PM, P.J. Eby<pje at telecommunity.com>  wrote:

>> By the way, the PEP's "optimized" implementation could probably be done just
>> by making generator functions containing yield-from statements return an
>> object of a different type than the standard geniter.

+ 1

> Not a bad idea.

I have not read the PEP thoroughly enough to understand the new behavior 
and suggest another name, but I would really like to not have to change 
current references to 'generator instances' in texts to "generators 
instances created by generator functions that only contain 'yield' and 
not 'yield from'".

-- 
Terry Jan Reedy

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