X Tutup
The Wayback Machine - https://web.archive.org/web/20221223104302/https://github.com/python/cpython/pull/98440/commits
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

gh-93453: No longer create an event loop in get_event_loop() #98440

Merged
merged 6 commits into from Dec 6, 2022

Commits on Oct 19, 2022

  1. pythongh-93453: No longer create an event loop in get_event_loop()

    asyncio.get_event_loop() now always return either running event loop or
    the result of get_event_loop_policy().get_event_loop() call. The latter
    should now raise an RuntimeError if no current event loop was set
    instead of creating and setting a new event loop.
    
    It affects also a number of asyncio functions and constructors which
    call get_event_loop() implicitly: ensure_future(), shield(), gather(),
    etc.
    
    DeprecationWarning is no longer emitted if there is no running event loop but
    the current event loop was set.
    serhiy-storchaka committed Oct 19, 2022

Commits on Dec 1, 2022

  1. Update docs.

    serhiy-storchaka committed Dec 1, 2022

Commits on Dec 5, 2022

  1. Address wording nits

    ambv committed Dec 5, 2022
X Tutup