Skip to content

[3.8] bpo-37322: Fix ResourceWarning and exception handling in test (GH-25553) #25573

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

Closed
wants to merge 4 commits into from

Conversation

tiran
Copy link
Member

@tiran tiran commented Apr 24, 2021

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

https://bugs.python.org/issue37322

@ambv
Copy link
Contributor

ambv commented Apr 26, 2021

We have less than a week to merge this before 3.8 goes into security fixes only mode.

tiran added 3 commits May 2, 2021 16:50
…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>
…25561)

test_wrong_cert_tls13 sometimes fails on some Windows buildbots. Turn
failing test case into skipped test case until we have more time to
investigate.

Signed-off-by: Christian Heimes <christian@python.org>
@tiran tiran force-pushed the backport-c8666cf-3.8 branch from 8bb8a70 to 49d78fa Compare May 2, 2021 14:51
@ambv
Copy link
Contributor

ambv commented May 3, 2021

Sadly this will miss 3.8.10 and as such, the 3.8 branch entirely.

@ambv ambv closed this May 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants