mirror of
https://github.com/python/cpython.git
synced 2025-10-17 20:28:43 +00:00
![]() 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. Co-authored-by: Łukasz Langa <lukasz@langa.pl> |
||
---|---|---|
.. | ||
__init__.py | ||
__main__.py | ||
echo.py | ||
echo2.py | ||
echo3.py | ||
functional.py | ||
test_base_events.py | ||
test_buffered_proto.py | ||
test_context.py | ||
test_events.py | ||
test_futures.py | ||
test_futures2.py | ||
test_locks.py | ||
test_pep492.py | ||
test_proactor_events.py | ||
test_protocols.py | ||
test_queues.py | ||
test_runners.py | ||
test_selector_events.py | ||
test_sendfile.py | ||
test_server.py | ||
test_sock_lowlevel.py | ||
test_ssl.py | ||
test_sslproto.py | ||
test_streams.py | ||
test_subprocess.py | ||
test_taskgroups.py | ||
test_tasks.py | ||
test_threads.py | ||
test_timeouts.py | ||
test_transports.py | ||
test_unix_events.py | ||
test_waitfor.py | ||
test_windows_events.py | ||
test_windows_utils.py | ||
utils.py |