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
bpo-44359: Fix test_ftplib unhandled thread exceptions #31069
Conversation
test_ftplib now silently ignores socket errors to prevent logging unhandled threading exceptions.
Without this PR, With this PR, this command pass and |
Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.9, 3.10. |
test_ftplib now silently ignores socket errors to prevent logging unhandled threading exceptions. (cherry picked from commit 0611eaf) Co-authored-by: Victor Stinner <vstinner@python.org>
GH-31070 is a backport of this pull request to the 3.10 branch. |
test_ftplib now silently ignores socket errors to prevent logging unhandled threading exceptions. (cherry picked from commit 0611eaf) Co-authored-by: Victor Stinner <vstinner@python.org>
GH-31071 is a backport of this pull request to the 3.9 branch. |
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.
:-) LGTM.
Thanks for the post merge reviw, I appreciate it, it makes me more confident :-) I wrote a long rationale in the bpo. |
test_ftplib now silently ignores socket errors to prevent logging unhandled threading exceptions. (cherry picked from commit 0611eaf) Co-authored-by: Victor Stinner <vstinner@python.org>
test_ftplib now silently ignores socket errors to prevent logging
unhandled threading exceptions.
https://bugs.python.org/issue44359