On Tue, Nov 29, 2016 at 4:32 PM, Steven D'Aprano <steve+comp.lang.pyt...@pearwood.info> wrote: > On Tuesday 29 November 2016 14:21, Chris Angelico wrote: > >> On Tue, Nov 29, 2016 at 1:23 PM, Steve D'Aprano >> <steve+pyt...@pearwood.info> wrote: >>> This is confusing: why is this awaiting something inside an async function? >>> Doesn't that mean that the await asyncio.gather(...) call is turned >>> blocking? >> >> "await" means "don't continue this function until that's done". It >> blocks the function until a non-blocking operation is done. > > So that would be... "yes"?
>From the point of view of the function, yes. From the point of view of the rest of Python, no. It's a sign saying "Okay, Python, you can alt-tab away from me now". ChrisA -- https://mail.python.org/mailman/listinfo/python-list