-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
Closed
Labels
Description
Support for yield from
was deprecated and removed so it should be removed.
See
cpython/Lib/test/test_asyncio/test_tasks.py
Lines 2093 to 2100 in cd67c1b
# The indirection fut->child_coro is needed since otherwise the | |
# gathering task is done at the same time as the child future | |
def child_coro(): | |
return (yield from fut) | |
gather_future = asyncio.gather(child_coro()) | |
return asyncio.ensure_future(gather_future) | |
gather_task = loop.run_until_complete(create()) | |
Linked PRs
Metadata
Metadata
Assignees
Labels
Projects
Status
Done