-
-
Notifications
You must be signed in to change notification settings - Fork 30.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove yield from
usage from asyncio tests
#100113
Comments
There are a few
|
I think those are testing the internal implementation of futures and they are not used with asyncio APIs. I don't think they should be changed to await. |
There's a comment referencing Next, in asyncio/tasks.py, line 316 there's an error message complaining about Then there's But maybe I'm not understanding how |
This has been removed now.
That's debugging aid for people who are writing their own awaitables with custom |
Closing this, anything left can be handled in #102748 |
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
Linked PRs
yield from
usage fromasyncio
tests #100114The text was updated successfully, but these errors were encountered: