summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-08-21 21:24:40 (GMT)
committerGitHub <noreply@github.com>2017-08-21 21:24:40 (GMT)
commit4cab2cd0c05fcda5fcb128c9eb230253fff88c21 (patch)
tree20e12a6ededb945e909ea65dcda3d995933bbd74 /Misc
parent489d91c61d02f401551966f1558ee2dc87fc0ad9 (diff)
downloadcpython-4cab2cd0c05fcda5fcb128c9eb230253fff88c21.zip
cpython-4cab2cd0c05fcda5fcb128c9eb230253fff88c21.tar.gz
cpython-4cab2cd0c05fcda5fcb128c9eb230253fff88c21.tar.bz2
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
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2017-08-21-12-31-53.bpo-31238.Gg0LRH.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2017-08-21-12-31-53.bpo-31238.Gg0LRH.rst b/Misc/NEWS.d/next/Library/2017-08-21-12-31-53.bpo-31238.Gg0LRH.rst
new file mode 100644
index 0000000..3e1cd13
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2017-08-21-12-31-53.bpo-31238.Gg0LRH.rst
@@ -0,0 +1,3 @@
+pydoc: the stop() method of the private ServerThread class now waits until
+DocServer.serve_until_quit() completes and then explicitly sets its
+docserver attribute to None to break a reference cycle.