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 JustinTArthur
Recipients JustinTArthur, Roman.Evstifeev, asvetlov, hniksic, mivade, yselivanov
Date 2020-10-02.04:36:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1601613387.49.0.976088889713.issue33533@roundup.psfhosted.org>
In-reply-to
Content
I've added a new PR, PR 22491. This one has as_completed returning an iterator and includes tests for both the old and new style.

I see a trivial amount of latency added in extra call stack over Guido's original implementation. Should we decide to deprecate the plain-iterator-of-awaitables form, we can possibly regain that latency in refactoring this as an asynchronous generator.
History
Date User Action Args
2020-10-02 04:36:27JustinTArthursetrecipients: + JustinTArthur, hniksic, asvetlov, Roman.Evstifeev, yselivanov, mivade
2020-10-02 04:36:27JustinTArthursetmessageid: <1601613387.49.0.976088889713.issue33533@roundup.psfhosted.org>
2020-10-02 04:36:27JustinTArthurlinkissue33533 messages
2020-10-02 04:36:27JustinTArthurcreate