-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
bpo-46827: pass sock.type to getaddrinfo in sock_connect #31499
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
bpo-46827: pass sock.type to getaddrinfo in sock_connect #31499
Conversation
and update it to support UDP and TCP socket types this test was removed in python@7438792#diff-6e37e524632f0e5f40ac46ea06ed508dc3b08f9ec1e8c07cf97537913f056a6bL444-L458
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.
Would you consider changing NEWs record as suggested?
Misc/NEWS.d/next/Library/2022-02-22-15-08-30.bpo-46827.hvj38S.rst
Outdated
Show resolved
Hide resolved
Co-authored-by: Andrew Svetlov <[email protected]>
@asvetlov I think this needs backporting to 3.9 and 3.10? |
Misc/NEWS.d/next/Library/2022-02-22-15-08-30.bpo-46827.hvj38S.rst
Outdated
Show resolved
Hide resolved
Co-authored-by: Thomas Grainger <[email protected]>
The PR doesn't change the behavior but makes unsupported things work. |
Thanks @graingert for the PR, and @asvetlov for merging it 🌮🎉.. I'm working now to backport this PR to: 3.9, 3.10. |
GH-31509 is a backport of this pull request to the 3.10 branch. |
) Co-authored-by: Thomas Grainger <[email protected]> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Andrew Svetlov <[email protected]> (cherry picked from commit 8fb9489) Co-authored-by: Thomas Grainger <[email protected]>
) Co-authored-by: Thomas Grainger <[email protected]> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Andrew Svetlov <[email protected]> (cherry picked from commit 8fb9489) Co-authored-by: Thomas Grainger <[email protected]>
GH-31510 is a backport of this pull request to the 3.9 branch. |
Co-authored-by: Thomas Grainger <[email protected]> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Andrew Svetlov <[email protected]> (cherry picked from commit 8fb9489) Co-authored-by: Thomas Grainger <[email protected]>
Co-authored-by: Thomas Grainger <[email protected]> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Andrew Svetlov <[email protected]> (cherry picked from commit 8fb9489) Co-authored-by: Thomas Grainger <[email protected]>
) Co-authored-by: Thomas Grainger <[email protected]> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Andrew Svetlov <[email protected]> (cherry picked from commit 8fb9489) Co-authored-by: Thomas Grainger <[email protected]>
https://bugs.python.org/issue46827