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 tom.pohl
Recipients docs@python, tom.pohl
Date 2020-02-18.09:33:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1582018412.2.0.458600281682.issue39671@roundup.psfhosted.org>
In-reply-to
Content
Currently, the documentation of asyncio.wait gives the impression that using FIRST_COMPLETED guarantees the completion of no more than one task. In reality, the number of completed task after asyncio.wait can be larger than one.

While this behavior (exactly one complete task if no error or cancellation occurred) would be ultimately desirable, a sentence describing the current behavior would be helpful for new users of asyncio.
History
Date User Action Args
2020-02-18 09:33:32tom.pohlsetrecipients: + tom.pohl, docs@python
2020-02-18 09:33:32tom.pohlsetmessageid: <1582018412.2.0.458600281682.issue39671@roundup.psfhosted.org>
2020-02-18 09:33:32tom.pohllinkissue39671 messages
2020-02-18 09:33:32tom.pohlcreate