bpo-31238: pydoc ServerThread.stop() now joins itself (#3151) · python/cpython@4cab2cd · GitHub
Skip to content

Commit 4cab2cd

Browse files
authored
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
1 parent 489d91c commit 4cab2cd

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

Lib/pydoc.py

Lines changed: 4 additions & 0 deletions
Lines changed: 3 additions & 0 deletions

0 commit comments

Comments
 (0)