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
base_tasks.py
compat.py
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
selector_events.py
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
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
unix_events.py Merge 3.5 (issue #28704) 2016-11-15 15:27:23 -05:00
windows_events.py
windows_utils.py