[Python-Dev] PEP 3152 and yield from Future()

Paul Moore p.f.moore at gmail.com
Fri Apr 24 10:44:47 CEST 2015


On 24 April 2015 at 09:34, Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:
> and after the refactoring it becomes
>
>    cocall await(cocall f(x))
>
> That doesn't look so bad to me.

I've not been following this discussion (and coroutines make my head
hurt) but this idiom looks like it's bound to result in people getting
the idea that you scatter "cocall" throughout an expression until you
get it to work.

Paul


More information about the Python-Dev mailing list