[issue33533] Provide an async-generator version of as_completed

Justin Arthur report at bugs.python.org
Fri Oct 2 19:28:10 EDT 2020


Justin Arthur <justinarthur at gmail.com> added the comment:

Thanks, Hrvoje. I've updated the patch to match this bug's suggested format and have updated the documentation and What's New.

The one quirk that comes with the benefit of getting the same futures back is that we still allow both coroutines and futures to be passed in. Coroutines will not be yielded back in their original form, but instead a new task.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33533>
_______________________________________


More information about the Python-bugs-list mailing list