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 yselivanov
Recipients andybalaam, aparamon, asvetlov, glin, lisroach, twisteroid ambassador, yselivanov
Date 2019-09-09.14:41:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1568040094.85.0.114131918138.issue30782@roundup.psfhosted.org>
In-reply-to
Content
We want to add TaskGroups to asyncio (a similar concept to Trio's nurseries).  TaskGroups use the `async with` statement to clearly define where Tasks are created and at which point they are expected to be completed or destroyed.

asyncio.gather(), asyncio.as_completed(), and few others will be considered legacy APIs after we implement TaskGroups.  Implementing rate limiting on top of TaskGroups is easier and more reliable.

I'd really prefer to keep as_completed() and especially gather() as is, as I consider them a bit broken already.
History
Date User Action Args
2019-09-09 14:41:34yselivanovsetrecipients: + yselivanov, andybalaam, asvetlov, glin, lisroach, twisteroid ambassador, aparamon
2019-09-09 14:41:34yselivanovsetmessageid: <1568040094.85.0.114131918138.issue30782@roundup.psfhosted.org>
2019-09-09 14:41:34yselivanovlinkissue30782 messages
2019-09-09 14:41:34yselivanovcreate