[Python-Dev] Using async/await in place of yield expression (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Mon Nov 27 16:58:56 EST 2017
- Previous message (by thread): [Python-Dev] Using async/await in place of yield expression
- Next message (by thread): [Python-Dev] Using async/await in place of yield expression
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Guido van Rossum wrote:
The source for sleep() isn't very helpful -- e.g. @coroutine is mostly a backwards compatibility thing.
So how are you supposed to write that without using @coroutine?
-- Greg
- Previous message (by thread): [Python-Dev] Using async/await in place of yield expression
- Next message (by thread): [Python-Dev] Using async/await in place of yield expression
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]