-
-
Notifications
You must be signed in to change notification settings - Fork 31.6k
bpo-27500: Fix sttaic ver of getaddrinfo to resolve IPv6 addresses #7993
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Be carefully of the typo in the commit message: "bpo-27500: Fix sttaic ver of getaddrinfo..."
@@ -1077,6 +1077,26 @@ def test_create_server_stream_bittype(self): | |||
srv.close() | |||
self.loop.run_until_complete(srv.wait_closed()) | |||
|
|||
@unittest.skipUnless(hasattr(socket, 'AF_INET6'), 'no IPv6 support') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You might use support.IPV6_ENABLED
Thanks @1st1 for the PR 🌮🎉.. I'm working now to backport this PR to: 3.6, 3.7. |
GH-8000 is a backport of this pull request to the 3.7 branch. |
GH-8001 is a backport of this pull request to the 3.6 branch. |
Thanks for a review, Victor! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm late but lgtm
https://bugs.python.org/issue27500