15 Oct
2012
15 Oct
'12
5:10 a.m.
Guido van Rossum wrote:
I think it's too early to start proposing new syntax for a problem we don't even know is common at all.
Greg Ewing's proposal works for me:
r = yield from par(f1(), f2())
Also, whoever's proposing this needs to understand that even if the suggested change to yield-from were made, it would NOT automatically result in par() behaviour. It would just be another way of sequentially calling two sub-generators. -- Greg