July 25, 2010
11:11 p.m.
On 7/24/2010 11:21 PM, Guido van Rossum wrote:
On Sat, Jul 24, 2010 at 6:51 PM, P.J. Eby<pje@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