Re: [Python-Dev] PEP 380 ("yield from") is now Final

2012-01-14 Thread Chris Withers
Finally, a reason to use Python 3 ;-) Chris On 13/01/2012 16:00, Guido van Rossum wrote: AWESOME!!! On Fri, Jan 13, 2012 at 4:14 AM, Nick Coghlan mailto:ncogh...@gmail.com>> wrote: I marked PEP 380 as Final this evening, after pushing the tested and documented implementation to hg.pyt

Re: [Python-Dev] PEP 380 ("yield from") is now Final

2012-01-13 Thread Terry Reedy
On 1/13/2012 7:14 AM, Nick Coghlan wrote: print("\n".join(list((lambda:(yield from ("Cheers,", "Nick")))( I pulled, rebuilt, and it indeed works (on Win 7). I just remembered that Tim Peters somewhere (generator.c?) left a large comment with examples of recursive generators, such as knigh

Re: [Python-Dev] PEP 380 ("yield from") is now Final

2012-01-13 Thread Antoine Pitrou
On Fri, 13 Jan 2012 22:14:43 +1000 Nick Coghlan wrote: > I marked PEP 380 as Final this evening, after pushing the tested and > documented implementation to hg.python.org: > http://hg.python.org/cpython/rev/d64ac9ab4cd0 I don't know if this is supposed to work, but the exception looks wrong: >>>

Re: [Python-Dev] PEP 380 ("yield from") is now Final

2012-01-13 Thread Guido van Rossum
AWESOME!!! On Fri, Jan 13, 2012 at 4:14 AM, Nick Coghlan wrote: > I marked PEP 380 as Final this evening, after pushing the tested and > documented implementation to hg.python.org: > http://hg.python.org/cpython/rev/d64ac9ab4cd0 > > As the list of names in the NEWS and What's New entries suggest

Re: [Python-Dev] PEP 380 ("yield from") is now Final

2012-01-13 Thread Matt Joiner
Great work Nick, I've been looking forward to this one. Thanks all for putting the effort in. On Fri, Jan 13, 2012 at 11:14 PM, Nick Coghlan wrote: > I marked PEP 380 as Final this evening, after pushing the tested and > documented implementation to hg.python.org: > http://hg.python.org/cpython/r