Asyncio -- delayed calculation

Steven D'Aprano steve+comp.lang.python at pearwood.info
Tue Nov 29 00:32:44 EST 2016


On Tuesday 29 November 2016 14:21, Chris Angelico wrote:

> On Tue, Nov 29, 2016 at 1:23 PM, Steve D'Aprano
> <steve+python at 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"?





-- 
Steven
"Ever since I learned about confirmation bias, I've been seeing 
it everywhere." - Jon Ronson




More information about the Python-list mailing list