Skip to content

[3.6] bpo-31238: pydoc ServerThread.stop() clears ref cycle#3177

Closed
vstinner wants to merge 1 commit into
python:3.6from
vstinner:pydoc36
Closed

[3.6] bpo-31238: pydoc ServerThread.stop() clears ref cycle#3177
vstinner wants to merge 1 commit into
python:3.6from
vstinner:pydoc36

Conversation

@vstinner

@vstinner vstinner commented Aug 22, 2017

Copy link
Copy Markdown
Member

ServerThread.stop() now explicitly sets its docserver attribute to
None to break a reference cycle.

https://bugs.python.org/issue31238

ServerThread.stop() now explicitly sets its docserver attribute to
None to break a reference cycle.
@vstinner

Copy link
Copy Markdown
Member Author

For Python 3.6, I chose to not joins the thread as I did in master (PR #3151) since I'm not 100% confident that join() doesn't block too long.

@vstinner

Copy link
Copy Markdown
Member Author

@pitrou: What do you think of joining or not the thread in Python 3.6?

@pitrou

pitrou commented Aug 22, 2017

Copy link
Copy Markdown
Member

It's not really a bugfix, so you should leave it alone.

@vstinner vstinner closed this Aug 22, 2017
@vstinner vstinner deleted the pydoc36 branch August 22, 2017 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants