]> granicus.if.org Git - python/commit
bpo-31238: pydoc ServerThread.stop() now joins itself (GH-3151) (GH-7324)
authorVictor Stinner <vstinner@redhat.com>
Fri, 1 Jun 2018 17:39:16 +0000 (19:39 +0200)
committerGitHub <noreply@github.com>
Fri, 1 Jun 2018 17:39:16 +0000 (19:39 +0200)
commitf3297433e309e9591eaa3f36e1d7887e9d0620d7
tree70413b2067b600000b89cc9232941eb9aa0cb178
parent1381bfe9776e64fed45935efbe42a7ee8298bd44
bpo-31238: pydoc ServerThread.stop() now joins itself (GH-3151) (GH-7324)

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.

(cherry picked from commit 4cab2cd0c05fcda5fcb128c9eb230253fff88c21)
Lib/pydoc.py
Misc/NEWS.d/next/Library/2017-08-21-12-31-53.bpo-31238.Gg0LRH.rst [new file with mode: 0644]