cpython/Lib/asyncio
Yury Selivanov e8944cb217 asyncio: Make sure sys.set_coroutine_wrapper is called *only* when loop is running.
Previous approach of installing coroutine wrapper in loop.set_debug() and
uninstalling it in loop.close() was very fragile.  Most of asyncio tests
do not call loop.close() at all.  Since coroutine wrapper is a global
setting, we have to make sure that it's only set when the loop is
running, and is automatically unset when it stops running.

Issue #24017.
2015-05-12 11:43:04 -04:00
..
__init__.py Issue #23046: Expose the BaseEventLoop class in the asyncio namespace 2015-01-06 01:03:58 +01:00
base_events.py asyncio: Make sure sys.set_coroutine_wrapper is called *only* when loop is running. 2015-05-12 11:43:04 -04:00
base_subprocess.py Issue #23456: Add missing @coroutine decorators in asyncio 2015-03-18 11:37:42 +01:00
constants.py
coroutines.py asyncio: Support PEP 492. Issue #24017. 2015-05-11 22:27:25 -04:00
events.py Sync asyncio changes from the main repo. 2015-05-11 14:23:38 -04:00
futures.py asyncio: Support PEP 492. Issue #24017. 2015-05-11 22:27:25 -04:00
locks.py Issue #23456: Add missing @coroutine decorators in asyncio 2015-03-18 11:37:42 +01:00
log.py
proactor_events.py asyncio: Only call _check_resolved_address() in debug mode 2015-02-04 14:51:23 +01:00
protocols.py asyncio doc: document Protocol state machine 2015-01-29 13:33:15 +01:00
queues.py Fix asyncio issue 235: Queue subclass bug caused by JoinableQueue merge. 2015-04-20 09:24:24 -07:00
selector_events.py Issue #23879, asyncio: SelectorEventLoop.sock_connect() must not call connect() 2015-04-07 21:38:04 +02:00
sslproto.py Issue #23243, asyncio: Emit a ResourceWarning when an event loop or a transport 2015-01-29 17:50:58 +01:00
streams.py Issue #23456: Add missing @coroutine decorators in asyncio 2015-03-18 11:37:42 +01:00
subprocess.py Issue #23347, asyncio: Make BaseSubprocessTransport.wait() private 2015-01-30 00:16:14 +01:00
tasks.py asyncio: Support PEP 492. Issue #24017. 2015-05-11 22:27:25 -04:00
test_utils.py Issue #23353, asyncio: Workaround CPython bug #23353 2015-02-02 18:36:31 +01:00
transports.py asyncio: Move loop attribute to _FlowControlMixin 2014-11-05 15:27:41 +01:00
unix_events.py Issue #23353, asyncio: Workaround CPython bug #23353 2015-02-02 18:36:31 +01:00
windows_events.py asyncio: async() function is deprecated in favour of ensure_future(). 2015-05-11 14:48:38 -04:00
windows_utils.py Issue #23243, asyncio: Emit a ResourceWarning when an event loop or a transport 2015-01-29 17:50:58 +01:00