Skip to content
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

docs: fix most asyncio DeprecationWarnings #257

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

terop
Copy link
Contributor

@terop terop commented Nov 11, 2024

Calling get_event_loop() in Python 3.12 and newer when no event loop is running is deprecated. The recommended option is to use asyncio.run() instead.
examples/http_server_asyncio.py is not updated as the example is quite broken as is so changing it without fixing the existing problems is not wise.

Fixes #246.

Calling get_event_loop() in Python 3.12 and newer when no event loop
is running is deprecated. The recommended option is to use asyncio.run()
instead.
examples/http_server_asyncio.py is not updated as the example
is quite broken as is so changing it without fixing the existing
problems is not wise.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deprecation warning in examples
1 participant