]> granicus.if.org Git - python/commit
bpo-31151: Add socketserver.ForkingMixIn.server_close() (#3057)
authorVictor Stinner <victor.stinner@gmail.com>
Thu, 10 Aug 2017 13:28:16 +0000 (15:28 +0200)
committerGitHub <noreply@github.com>
Thu, 10 Aug 2017 13:28:16 +0000 (15:28 +0200)
commitaa8ec34ad52bb3b274ce91169e1bc4a598655049
tree4c1a82ebac934277dcdec6ba16b62c858df1b539
parent6c8c2943d996b59a48d331f61f22cbe72933910e
bpo-31151: Add socketserver.ForkingMixIn.server_close() (#3057)

* Add socketserver.ForkingMixIn.server_close()

bpo-31151: socketserver.ForkingMixIn.server_close() now waits until
all child processes completed to prevent leaking zombie processes.

* Fix test on Windows which doesn't have ForkingMixIn
Lib/socketserver.py
Lib/test/test_socketserver.py
Misc/NEWS.d/next/Library/2017-08-10-13-20-02.bpo-31151.730VBI.rst [new file with mode: 0644]