cpython/Lib/asyncio
Victor Stinner 0e0bc87625 bpo-30280: Cleanup threads in ayncio tests (#2501) (#2512)
* 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:31 +02:00
..
__init__.py
base_events.py [3.5] call remove_done_callback in finally section (GH-1688) (#1758) 2017-05-23 00:36:18 -07:00
base_subprocess.py Misc asyncio improvements from upstream 2016-09-30 08:17:15 -07:00
compat.py
constants.py
coroutines.py [3.5] Fix a typo in a comment in coroutines.py (GH-2267) (GH-2371) 2017-06-23 22:50:31 -07:00
events.py asyncio: Optimize _get_running_loop() to call getpid() only when there's a loop 2017-03-03 00:00:57 -05:00
futures.py bpo-30508: Don't log exceptions if Task/Future "cancel()" method was called. (#2110) 2017-06-11 14:11:47 +00:00
locks.py Fix waiter cancellation in asyncio.Lock (#1031) (#2038) 2017-06-09 17:08:23 -04:00
log.py
proactor_events.py [3.5] Fix TypeError is asyncio/proactor_events (GH-993) (#2060) 2017-06-10 00:15:41 -04:00
protocols.py
queues.py Misc asyncio improvements from upstream 2016-09-30 08:17:15 -07:00
selector_events.py Issue #28369: Raise an error when transport's FD is used with add_reader 2016-10-05 17:48:59 -04:00
sslproto.py Revert "[3.5] bpo-29406: asyncio SSL contexts leak sockets after calling close with certain servers (GH-409) (#2063)" (#2113) 2017-06-11 16:46:53 +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-03 12:23:44 -05:00
tasks.py bpo-30508: Don't log exceptions if Task/Future "cancel()" method was called. (#2110) 2017-06-11 14:11:47 +00:00
test_utils.py bpo-30280: Cleanup threads in ayncio tests (#2501) (#2512) 2017-06-30 17:20:31 +02:00
transports.py
unix_events.py Issue #28704: Fix create_unix_server to support Path-like objects 2016-11-15 15:26:34 -05:00
windows_events.py
windows_utils.py