[Python-Dev] PEP 3152 and yield from Future() (original) (raw)
Paul Moore p.f.moore at gmail.com
Fri Apr 24 10:44:47 CEST 2015
- Previous message (by thread): [Python-Dev] PEP 3152 and yield from Future()
- Next message (by thread): [Python-Dev] PEP 3152 and yield from Future()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message (by thread): [Python-Dev] PEP 3152 and yield from Future()
- Next message (by thread): [Python-Dev] PEP 3152 and yield from Future()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]