Skip to content

Add multiprocessing.Pool.__repr__()#11137

Merged
vstinner merged 1 commit into
python:masterfrom
vstinner:mp_repr
Dec 14, 2018
Merged

Add multiprocessing.Pool.__repr__()#11137
vstinner merged 1 commit into
python:masterfrom
vstinner:mp_repr

Conversation

@vstinner

Copy link
Copy Markdown
Member
  • Add multiprocessing.Pool.repr() to ease debug
  • RUN, CLOSE and TERMINATE constants values are now strings rather
    than integer to ease debug

* Add multiprocessing.Pool.__repr__() to ease debug
* RUN, CLOSE and TERMINATE constants values are now strings rather
  than integer to ease debug
return

if thread._state:
if thread._state != "RUN":

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vstinner, @ulfalizer mentioned on 2b417fb that this may have meant to be RUN, not "RUN"

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops! Fixed by PR #11178.

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.

4 participants