◐ Shell
clean mode source ↗

bpo-37322: Fix ResourceWarning and exception handling in test (GH-25553) by tiran · Pull Request #25553 · python/cpython

@tiran tiran mentioned this pull request

Apr 23, 2021

matthewhughes934

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 tiran changed the title bpo-37322: Fix ResourceWarning and exception handling in test bpo-37322: Fix ResourceWarning and exception handling in test (GH-25553)

Apr 24, 2021

@tiran tiran deleted the bpo-37322-resourcewarning branch

April 24, 2021 07:17

tiran added a commit to tiran/cpython that referenced this pull request

May 2, 2021
…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

May 2, 2021
…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

Feb 11, 2024