]> granicus.if.org Git - python/commit
bpo-31238: pydoc ServerThread.stop() now joins itself (#3151)
authorVictor Stinner <victor.stinner@gmail.com>
Mon, 21 Aug 2017 21:24:40 +0000 (23:24 +0200)
committerGitHub <noreply@github.com>
Mon, 21 Aug 2017 21:24:40 +0000 (23:24 +0200)
commit4cab2cd0c05fcda5fcb128c9eb230253fff88c21
tree20e12a6ededb945e909ea65dcda3d995933bbd74
parent489d91c61d02f401551966f1558ee2dc87fc0ad9
bpo-31238: pydoc ServerThread.stop() now joins itself (#3151)

* bpo-31238: pydoc ServerThread.stop() now joins itself

ServerThread.stop() now joins itself to wait until
DocServer.serve_until_quit() completes and then explicitly sets
its docserver attribute to None to break a reference cycle.

* Add NEWS.d entry
Lib/pydoc.py
Misc/NEWS.d/next/Library/2017-08-21-12-31-53.bpo-31238.Gg0LRH.rst [new file with mode: 0644]