Skip to content
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

Fix Popen.communicate() to raise exceptions from reading the streams. #1511

Merged
merged 4 commits into from Jan 14, 2020

Conversation

jamadden
Copy link
Member

And a general clean up of how the streams are read, ensuring we just have one greenlet. This avoids the 'reentrant call' errors that could prevent closing the streams on time. Some follow on effects from this showed that we weren't truly suppressing BrokenPipeError as expected, so that had to be fixed too.

Includes a refactoring for test__core to avoid a crashing scenario and enable it more places.

And a general clean up of how the streams are read, ensuring we just have one greenlet. This avoids the 'reentrant call' errors that could prevent closing the streams on time.

Fixes #1510
@jamadden jamadden merged commit 7e2cc29 into master Jan 14, 2020
@jamadden jamadden deleted the issue1510 branch January 14, 2020 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant