diff options
author | Justin Turner Arthur <justinarthur@gmail.com> | 2024-04-01 17:07:29 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-01 17:07:29 (GMT) |
commit | c741ad3537193c63fe697a8f0316aecd45eeb9ba (patch) | |
tree | 4dc0eaac7cde2150ee10811779f1f62177524dc3 /Python/structmember.c | |
parent | ddf814db744006e0f42328aa15ace97c9d8ad681 (diff) | |
download | cpython-c741ad3537193c63fe697a8f0316aecd45eeb9ba.zip cpython-c741ad3537193c63fe697a8f0316aecd45eeb9ba.tar.gz cpython-c741ad3537193c63fe697a8f0316aecd45eeb9ba.tar.bz2 |
gh-77714: Provide an async iterator version of as_completed (GH-22491)
* as_completed returns object that is both iterator and async iterator
* Existing tests adjusted to test both the old and new style
* New test to ensure iterator can be resumed
* New test to ensure async iterator yields any passed-in Futures as-is
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Guido van Rossum <gvanrossum@gmail.com>
Diffstat (limited to 'Python/structmember.c')
0 files changed, 0 insertions, 0 deletions