[Python-Dev] Change to yield-from implementation

Antoine Pitrou solipsis at pitrou.net
Mon Apr 9 14:46:05 CEST 2012


On Tue, 10 Apr 2012 00:24:07 +1200
Greg Ewing <greg.ewing at canterbury.ac.nz> 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 yield-froms?

What's the point? Apart from naïve toy examples of traversing trees, I
don't think "deeply nested yield-froms" are likely to be
performance-critical.

Regards

Antoine.




More information about the Python-Dev mailing list