-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Handle BrokenPipeError gracefully (#4170) #5907
Conversation
79185cc
to
764f9a0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like the approach here.
bb82b66
to
7b4761c
Compare
@cjerdonek Is this still a WIP? |
@pradyunsg I was hoping to add some higher-level tests, like testing the exception handling in |
Hello! I am an automated bot and I have noticed that this pull request is not currently able to be merged. If you are able to either merge the |
7b4761c
to
fa4e6e8
Compare
This is now ready to be reviewed. |
6343c92
to
e62b763
Compare
Hi @pradyunsg, I just wanted to flag this PR for you. Is it okay for me to add this to the milestone for the upcoming release? The non-test code portion had been implemented and done for a while, and it now has very good test coverage. This includes a thorough end-to-end test (using subprocess) passing on all platforms. It is a bug fix for a quite visible problem when it happens |
e7bd2b9
to
f7f463b
Compare
Hello! I am an automated bot and I have noticed that this pull request is not currently able to be merged. If you are able to either merge the |
f7f463b
to
eef02fd
Compare
Whoops! I haven't been checking my GitHub notifications properly.
Yes, it is. Let's include this in the next release. As an aside, the way we've mostly flagged things for being added to a release since I've been around, is to simply add them to the release milestone and leave a comment before/after adding it. If the feature is not a blocker, the RM will remove it when the release comes. This is the sort of "institutional knowledge" that I think we should start documenting in out GitHub mentions (thanks notifications) usually get buried. |
@cjerdonek this is a super polished PR, with nice comments in the right places and understandable code. Nice work! 🎉 |
Thanks a lot for merging and for the nice comments, @pradyunsg. This was one of my more involved PR's, so I appreciate it! |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
This shows an alternative way of addressing #4170.
Here is sample output:
And with more verbose output: