17 Feb
2009
17 Feb
'09
9:04 a.m.
Guillaume Chereau wrote:
In the context of a coroutine, 'yield from' means : "we start this other coroutine, and return to the current coroutine when it is done", and I was expecting the syntax to somehow express this idea.
For what it's worth, I tend to feel the same way. I was originally going to call it 'call': y = call g(x) but Guido convinced me that 'call' is far too generic a word and doesn't convey any connection with generators at all. If anyone has any other suggestions, I'll gladly consider them. -- Greg