diff options
author | Christian Heimes <christian@python.org> | 2021-04-24 07:17:54 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-24 07:17:54 (GMT) |
commit | c8666cfa7cdc48915a14cd16095a69029720736a (patch) | |
tree | c415158f1eebbe94e7201106fb6b2819bd18c107 /Lib/importlib/metadata.py | |
parent | f05c2aed7e25087122613b51f152919c79641f66 (diff) | |
download | cpython-c8666cfa7cdc48915a14cd16095a69029720736a.zip cpython-c8666cfa7cdc48915a14cd16095a69029720736a.tar.gz cpython-c8666cfa7cdc48915a14cd16095a69029720736a.tar.bz2 |
bpo-37322: Fix ResourceWarning and exception handling in test (GH-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.
Diffstat (limited to 'Lib/importlib/metadata.py')
0 files changed, 0 insertions, 0 deletions