Skip to content

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

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

tiran added 2 commits May 2, 2021 16:45
…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 tiran force-pushed the backport-c8666cf-3.9 branch from 17fd03d to 5d1fb45 Compare May 2, 2021 14:46
tiran added 2 commits May 2, 2021 16:50
…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>
@ambv
Copy link
Contributor

ambv commented May 3, 2021

There's a few hours left for this to get fixed for inclusion in 3.9.5.

@tiran
Copy link
Member Author

tiran commented May 3, 2021

The PR is still unstable. I was not able to figure out the issue over the weekend and I won't have time in the next couple of hours to debug the problem. Let's try it again for 3.9.6.

@github-actions
Copy link

github-actions bot commented Jun 3, 2021

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale Stale PR or inactive for long period of time. label Jun 3, 2021
@iritkatriel
Copy link
Member

https://bugs.python.org/issue37322 is closed. What is the status of this PR?

@ambv
Copy link
Contributor

ambv commented May 16, 2022

We're releasing the last bugfix release of 3.9 today and this PR's been stale for a while. Sadly it's a wontfix now.

@ambv ambv closed this May 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting core review skip news stale Stale PR or inactive for long period of time. tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants