Skip to content
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

gh-74166: Add option to get all errors from socket.create_connection #91586

Merged
merged 6 commits into from Apr 18, 2022

Conversation

iritkatriel
Copy link
Member

@iritkatriel iritkatriel commented Apr 15, 2022

No description provided.

Lib/test/test_socket.py Outdated Show resolved Hide resolved
Lib/socket.py Outdated
@@ -835,17 +837,21 @@ def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT,
err = None
Copy link
Member

@JelleZijlstra JelleZijlstra Apr 18, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be exceptions.clear() now?

@iritkatriel iritkatriel merged commit 39a54ba into python:main Apr 18, 2022
13 checks passed
@iritkatriel iritkatriel deleted the gh-74166 branch May 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants