diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2017-09-13 08:47:22 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-13 08:47:22 (GMT) |
commit | b8f4163da30e16c7cd58fe04f4b17e38d53cd57e (patch) | |
tree | 1775c6b14f7989f88d9634a0d093aadd6e6eeacd /Misc | |
parent | 97d7e65dfed1d42d40d9bc2f630af56240555f02 (diff) | |
download | cpython-b8f4163da30e16c7cd58fe04f4b17e38d53cd57e.zip cpython-b8f4163da30e16c7cd58fe04f4b17e38d53cd57e.tar.gz cpython-b8f4163da30e16c7cd58fe04f4b17e38d53cd57e.tar.bz2 |
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.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2017-09-13-02-17-11.bpo-31233.r-IPIu.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2017-09-13-02-17-11.bpo-31233.r-IPIu.rst b/Misc/NEWS.d/next/Library/2017-09-13-02-17-11.bpo-31233.r-IPIu.rst new file mode 100644 index 0000000..5cf75e7 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2017-09-13-02-17-11.bpo-31233.r-IPIu.rst @@ -0,0 +1,2 @@ +socketserver.ThreadingMixIn now keeps a list of non-daemonic threads to wait +until all these threads complete in server_close(). |