[Python-Dev] async/await in Python; v2 (original) (raw)

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Apr 23 09:03:32 CEST 2015


Yury Selivanov wrote:

- If it's an object with await, return iter(object.await())

Is the iter() really needed? Couldn't the contract of await be that it always returns an iterator?

-- Greg



More information about the Python-Dev mailing list