This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author agarus
Recipients agarus, docs@python
Date 2019-12-13.06:49:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1576219743.99.0.330194096424.issue39034@roundup.psfhosted.org>
In-reply-to
Content
Here: https://docs.python.org/3/library/asyncio-task.html  
it says:"To actually run a coroutine, asyncio provides three main mechanisms:"

and a few pages down it gives you a fourth mechanism:
"awaitable asyncio.gather(*aws, loop=None, return_exceptions=False)
Run awaitable objects in the aws sequence concurrently."

And it really runs awaitables:
future = asyncio.gather(*awslist) # aws are run...
...                               # some other heavy tasks
result = async future             # collect results

Shouldn't it be added to docs?
History
Date User Action Args
2019-12-13 06:49:04agarussetrecipients: + agarus, docs@python
2019-12-13 06:49:03agarussetmessageid: <1576219743.99.0.330194096424.issue39034@roundup.psfhosted.org>
2019-12-13 06:49:03agaruslinkissue39034 messages
2019-12-13 06:49:03agaruscreate