Skip to content

bpo-36719: Fix regrtest MultiprocessThread #13301

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 14, 2019
Merged

bpo-36719: Fix regrtest MultiprocessThread #13301

merged 1 commit into from
May 14, 2019

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented May 14, 2019

MultiprocessThread.kill() now closes stdout and stderr to prevent
popen.communicate() to hang.

https://bugs.python.org/issue36719

MultiprocessThread.kill() now closes stdout and stderr to prevent
popen.communicate() to hang.
@miss-islington
Copy link
Contributor

Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.7.
🐍🍒⛏🤖

@vstinner vstinner deleted the regrtest_hangs branch May 14, 2019 01:47
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 14, 2019
MultiprocessThread.kill() now closes stdout and stderr to prevent
popen.communicate() to hang.
(cherry picked from commit c923c34)

Co-authored-by: Victor Stinner <[email protected]>
@bedevere-bot
Copy link

GH-13303 is a backport of this pull request to the 3.7 branch.

vstinner added a commit that referenced this pull request May 14, 2019
MultiprocessThread.kill() now closes stdout and stderr to prevent
popen.communicate() to hang.
(cherry picked from commit c923c34)

Co-authored-by: Victor Stinner <[email protected]>
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