Browse Source
bpo-31233: socketserver.ThreadingMixIn.server_close() (#3523)
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.pull/3533/head
committed by
GitHub
3 changed files with 19 additions and 11 deletions
-
15Lib/socketserver.py
-
13Lib/test/test_logging.py
-
2Misc/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(). |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue