]> granicus.if.org Git - python/commit
bpo-31233: socketserver.ThreadingMixIn.server_close() (#3523)
authorVictor Stinner <victor.stinner@gmail.com>
Wed, 13 Sep 2017 08:47:22 +0000 (01:47 -0700)
committerGitHub <noreply@github.com>
Wed, 13 Sep 2017 08:47:22 +0000 (01:47 -0700)
commitb8f4163da30e16c7cd58fe04f4b17e38d53cd57e
tree1775c6b14f7989f88d9634a0d093aadd6e6eeacd
parent97d7e65dfed1d42d40d9bc2f630af56240555f02
bpo-31233: socketserver.ThreadingMixIn.server_close() (#3523)

socketserver.ThreadingMixIn now keeps a list of non-daemonic threads
to wait until all these threads complete in server_close().

Reenable test_logging skipped tests.

Fix SocketHandlerTest.tearDown(): close the socket handler before
stopping the server, so the server can join threads.
Lib/socketserver.py
Lib/test/test_logging.py
Misc/NEWS.d/next/Library/2017-09-13-02-17-11.bpo-31233.r-IPIu.rst [new file with mode: 0644]