We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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.coroutine
Python 3.5 (released 2015) introduced new async and await keywords. They replace the @asyncio.coroutine decorator and yield from.
async
await
yield from
The @asyncio.coroutine decorator has been deprecated in Python 3.8 and will be removed in Python 3.10.
It would be great if this package could migrate to using async and await keywords.
# Old @asyncio.coroutine def something(): yield from asyncio.sleep(1) # New async def something(): await asyncio.sleep(1)
The text was updated successfully, but these errors were encountered:
Replace coroutine decorator with async keyword
0628430
Fixes: koolsb#7
281a6f8
355aea2
Successfully merging a pull request may close this issue.
Python 3.5 (released 2015) introduced new
async
andawait
keywords. They replace the@asyncio.coroutine
decorator andyield from
.The
@asyncio.coroutine
decorator has been deprecated in Python 3.8 and will be removed in Python 3.10.It would be great if this package could migrate to using
async
andawait
keywords.The text was updated successfully, but these errors were encountered: