◐ Shell
clean mode source ↗

bpo-31238: pydoc ServerThread.stop() now joins itself by vstinner · Pull Request #3151 · python/cpython

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.

GadgetSteve pushed a commit to GadgetSteve/cpython that referenced this pull request

Sep 10, 2017
* 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

vstinner added a commit that referenced this pull request

Jun 1, 2018
)

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 4cab2cd)