cpython/Lib/asyncio
Victor Stinner 23caf8cfc6 bpo-30280: Cleanup threads in ayncio tests (#2501) (#2511)
* bpo-30280: asyncio now cleans up threads

asyncio base TestCase now uses threading_setup() and
threading_cleanup() of test.support to cleanup threads.

* asyncio: Fix TestBaseSelectorEventLoop cleanup

bpo-30280: TestBaseSelectorEventLoop of
test.test_asyncio.test_selector_events now correctly closes the event
loop: cleanup its executor to not leak threads.

Don't override the close() method of the event loop, only override
the_close_self_pipe() method.

(cherry picked from commit b903067462)
2017-06-30 17:20:33 +02:00
..
__init__.py
base_events.py [3.6] call remove_done_callback in finally section (GH-1688) (#1755) 2017-05-23 00:36:23 -07:00
base_futures.py Merge 3.5 (issue #28634) 2016-11-07 16:07:30 -05:00
base_subprocess.py Misc asyncio improvements from upstream (merge 3.5->3.6) 2016-09-30 08:18:34 -07:00
base_tasks.py Issue #28544: Implement asyncio.Task in C. 2016-10-28 12:52:37 -04:00
compat.py Issue #27243: Fix __aiter__ protocol 2016-06-09 15:08:31 -04:00
constants.py
coroutines.py [3.6] Fix a typo in a comment in coroutines.py (GH-2267) (GH-2370) 2017-06-23 22:44:57 -07:00
events.py asyncio: Optimize _get_running_loop() to call getpid() only when there's a loop 2017-03-02 23:58:29 -05:00
futures.py bpo-30508: Don't log exceptions if Task/Future "cancel()" method was called. (#2109) 2017-06-11 14:00:14 +00:00
locks.py Fix waiter cancellation in asyncio.Lock (#1031) (#2037) 2017-06-09 17:07:48 -04:00
log.py
proactor_events.py [3.6] Fix TypeError is asyncio/proactor_events (GH-993) (#2061) 2017-06-10 00:15:28 -04:00
protocols.py
queues.py Misc asyncio improvements from upstream 2016-09-30 08:17:15 -07:00
selector_events.py Merge 3.5 (issue #28369) 2016-10-05 17:49:54 -04:00
sslproto.py Revert "[3.6] bpo-29406: asyncio SSL contexts leak sockets after calling close with certain servers (GH-409) (#2062)" (#2112) 2017-06-11 16:46:45 +02:00
streams.py Issue #28370: Speedup asyncio.StreamReader.readexactly 2016-10-05 18:01:12 -04:00
subprocess.py bpo-29704: Fix asyncio.SubprocessStreamProtocol closing (#405) 2017-03-02 23:31:17 -05:00
tasks.py bpo-30508: Don't log exceptions if Task/Future "cancel()" method was called. (#2109) 2017-06-11 14:00:14 +00:00
test_utils.py bpo-30280: Cleanup threads in ayncio tests (#2501) (#2511) 2017-06-30 17:20:33 +02:00
transports.py asyncio: Add set_protocol / get_protocol methods to Transports 2016-09-11 21:11:02 -04:00
unix_events.py Merge 3.5 (issue #28704) 2016-11-15 15:27:23 -05:00
windows_events.py Issue #28448: Fix C implemented asyncio.Future didn't work on Windows 2016-10-21 12:30:15 +09:00
windows_utils.py