
Aug. 29, 2017
7:54 p.m.
On Tue, Aug 29, 2017 at 7:36 PM, Greg Ewing <greg.ewing@canterbury.ac.nz> wrote:
Yury Selivanov wrote:
While we want "yield from" to have semantics close to a function call,
That's not what I said! I said that "yield from foo()" should have semantics close to a function call. If you separate the "yield from" from the "foo()", then of course you can get different behaviours.
But that's beside the point, because I'm not suggesting that generators should behave differently depending on when or if you use "yield from" on them.
OK, that wasn't clear. Yury