bpo-37322: Fix ResourceWarning and exception handling in test (GH-25553) by tiran · Pull Request #25553 · python/cpython
tiran
mentioned this pull request
Handle all OSErrors in a single block. OSError also takes care of SSLError and socket's connection errors. Partly reverts commit fb7e750. The threaded connection handler must not raise an unhandled exception.
Revert 73ea546, increase logging, and improve stability of test.
tiran
changed the title
bpo-37322: Fix ResourceWarning and exception handling in test
bpo-37322: Fix ResourceWarning and exception handling in test (GH-25553)
tiran
deleted the
bpo-37322-resourcewarning
branch
tiran added a commit to tiran/cpython that referenced this pull request
…ythonGH-25553) Revert 73ea546, increase logging, and improve stability of test. Handle all OSErrors in a single block. OSError also takes care of SSLError and socket's connection errors. Partly reverts commit fb7e750. The threaded connection handler must not raise an unhandled exception.. (cherry picked from commit c8666cf) Co-authored-by: Christian Heimes <christian@python.org>
tiran added a commit to tiran/cpython that referenced this pull request
…ythonGH-25553) Revert 73ea546, increase logging, and improve stability of test. Handle all OSErrors in a single block. OSError also takes care of SSLError and socket's connection errors. Partly reverts commit fb7e750. The threaded connection handler must not raise an unhandled exception.. (cherry picked from commit c8666cf) Co-authored-by: Christian Heimes <christian@python.org>
This was referenced
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters