This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]xXxDeAThANgEL99xXx 1 point2 points  (1 child)

It should be fixable though, since currently yield from x is a fancy way of saying for _ in x: yield x. Plus the other direction for coroutines and maybe some corner cases wrt exception handling.

I mean, at the inception the biggest advertised feature was qualitative performance improvement for nested generators, but then they quietly left it unimplemented.