]> granicus.if.org Git - python/commit
Issue #28613: Fix get_event_loop() to return the current loop
authorYury Selivanov <yury@magic.io>
Fri, 4 Nov 2016 18:29:28 +0000 (14:29 -0400)
committerYury Selivanov <yury@magic.io>
Fri, 4 Nov 2016 18:29:28 +0000 (14:29 -0400)
commit600a349781bfa0a8239e1cb95fac29c7c4a3302e
tree79f35114de7101a97fe85f80cd02cbd866d4abd9
parent1ea023e523f484955fb81b59a72c586845d8d97f
Issue #28613: Fix get_event_loop() to return the current loop

when called from coroutines or callbacks.
18 files changed:
Lib/asyncio/base_events.py
Lib/asyncio/events.py
Lib/asyncio/test_utils.py
Lib/test/test_asyncio/test_base_events.py
Lib/test/test_asyncio/test_events.py
Lib/test/test_asyncio/test_futures.py
Lib/test/test_asyncio/test_locks.py
Lib/test/test_asyncio/test_pep492.py
Lib/test/test_asyncio/test_proactor_events.py
Lib/test/test_asyncio/test_queues.py
Lib/test/test_asyncio/test_selector_events.py
Lib/test/test_asyncio/test_sslproto.py
Lib/test/test_asyncio/test_streams.py
Lib/test/test_asyncio/test_subprocess.py
Lib/test/test_asyncio/test_tasks.py
Lib/test/test_asyncio/test_unix_events.py
Lib/test/test_asyncio/test_windows_events.py
Misc/NEWS