Re: [Python-Dev] Change to yield-from implementation

2012-04-09 Thread Guido van Rossum
On Mon, Apr 9, 2012 at 5:46 AM, Antoine Pitrou wrote: > On Tue, 10 Apr 2012 00:24:07 +1200 > Greg Ewing wrote: >> Mark Shannon wrote: >> >> > We have recently removed the f_yieldfrom field from the frame object. >> > (http://bugs.python.org/issue14230) >> >> Hey, wait a minute. Did anyone conside

Re: [Python-Dev] Change to yield-from implementation

2012-04-09 Thread Antoine Pitrou
On Tue, 10 Apr 2012 00:24:07 +1200 Greg Ewing wrote: > Mark Shannon wrote: > > > We have recently removed the f_yieldfrom field from the frame object. > > (http://bugs.python.org/issue14230) > > Hey, wait a minute. Did anyone consider the performance effect > of that change on deeply nested yiel

Re: [Python-Dev] Change to yield-from implementation

2012-04-09 Thread Benjamin Peterson
2012/4/9 Greg Ewing : > Mark Shannon wrote: > >> We have recently removed the f_yieldfrom field from the frame object. >> (http://bugs.python.org/issue14230) > > > Hey, wait a minute. Did anyone consider the performance effect > of that change on deeply nested yield-froms? > > The way it was, a yie

[Python-Dev] Change to yield-from implementation

2012-04-09 Thread Greg Ewing
Mark Shannon wrote: We have recently removed the f_yieldfrom field from the frame object. (http://bugs.python.org/issue14230) Hey, wait a minute. Did anyone consider the performance effect of that change on deeply nested yield-froms? The way it was, a yield-from chain was traversed by a very