-
Notifications
You must be signed in to change notification settings - Fork 12
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
asyncio.wait_for DeprecationWarning in Python 3.8 #3
Comments
calidog is MIA and I wrote most of this code, I have a fork: https:/thehesiod/asyncpool feel free to log there and I can update. We'll have to come up with the pypi package name though ;) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In asyncio, the explicit passing of a loop argument has been deprecated and will be removed in version 3.10 for the following: asyncio.sleep(), asyncio.gather(), asyncio.shield(), asyncio.wait_for(), asyncio.wait(), asyncio.as_completed(), asyncio.Task, asyncio.Lock, asyncio.Event, asyncio.Condition, asyncio.Semaphore, asyncio.BoundedSemaphore, asyncio.Queue, asyncio.create_subprocess_exec(), and asyncio.create_subprocess_shell().
https://docs.python.org/3/whatsnew/3.8.html
Solution is simply to remove the loop from:
The text was updated successfully, but these errors were encountered: