-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
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
vstinner
left a comment
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..."
| 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. |
…H-7993) (cherry picked from commit d904c23) Co-authored-by: Yury Selivanov <[email protected]>
|
GH-8001 is a backport of this pull request to the 3.6 branch. |
…H-7993) (cherry picked from commit d904c23) Co-authored-by: Yury Selivanov <[email protected]>
|
Thanks for a review, Victor! |
(cherry picked from commit d904c23) Co-authored-by: Yury Selivanov <[email protected]>
(cherry picked from commit d904c23) Co-authored-by: Yury Selivanov <[email protected]>
asvetlov
left a comment
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