cpython/Lib/asyncio
Victor Stinner 956de691f8 Issue #22926: In debug mode, call_soon(), call_at() and call_later() methods of
asyncio.BaseEventLoop now use the identifier of the current thread to ensure
that they are called from the thread running the event loop.

Before, the get_event_loop() method was used to check the thread, and no
exception was raised when the thread had no event loop. Now the methods always
raise an exception in debug mode when called from the wrong thread. It should
help to notice misusage of the API.
2014-12-26 21:07:52 +01:00
..
__init__.py Fix asyncio.__all__: export also unix_events and windows_events symbols 2014-07-18 12:44:25 +02:00
base_events.py Issue #22926: In debug mode, call_soon(), call_at() and call_later() methods of 2014-12-26 21:07:52 +01:00
base_subprocess.py asyncio: sync with Tulip 2014-12-18 23:47:27 +01:00
constants.py asyncio: Pause accepting whenever accept() returns certain errors. Fixes asyncio issue #78. 2013-11-01 14:12:50 -07:00
coroutines.py asyncio: sync with Tulip 2014-07-11 01:04:16 +02:00
events.py Issue #23074: asyncio.get_event_loop() now raises an exception if the thread 2014-12-18 01:20:10 +01:00
futures.py asyncio: Initialize more Future and Task attributes in the class definition to 2014-12-04 23:00:13 +01:00
locks.py Issue #22369: Change "context manager protocol" to "context management protocol". 2014-09-10 23:43:41 +03:00
log.py Rename the logger to plain "logger". 2013-10-17 15:39:45 -07:00
proactor_events.py Issue #22926: In debug mode, call_soon(), call_at() and call_later() methods of 2014-12-26 21:07:52 +01:00
protocols.py asyncio: Fix spelling and typos. 2014-02-18 22:27:48 -05:00
queues.py asyncio doc: update also Queue docstrings 2014-12-22 22:09:50 +01:00
selector_events.py Issue #22926: In debug mode, call_soon(), call_at() and call_later() methods of 2014-12-26 21:07:52 +01:00
streams.py asyncio, tulip issue 193: Convert StreamWriter.drain() to a classic coroutine 2014-07-22 12:03:40 +02:00
subprocess.py Closes #22685, asyncio: Set the transport of stdout and stderr StreamReader 2014-11-25 17:20:33 +01:00
tasks.py asyncio: Initialize more Future and Task attributes in the class definition to 2014-12-04 23:00:13 +01:00
test_utils.py Issue #22641: In asyncio, the default SSL context for client connections is now created using ssl.create_default_context(), for stronger security. 2014-10-15 16:58:21 +02:00
transports.py asyncio: Move loop attribute to _FlowControlMixin 2014-11-05 15:27:41 +01:00
unix_events.py asyncio, tulip issue 209: Fix subprocess for close_fds=False on Python 3.3 2014-12-11 23:30:17 +01:00
windows_events.py asyncio: IocpProactor.wait_for_handle() test now also checks the result of the 2014-12-19 17:10:44 +01:00
windows_utils.py asyncio: sync with Tulip 2014-12-18 23:47:27 +01:00