Skip to content

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

Merged

Conversation

graingert
Copy link
Contributor

@graingert graingert commented Feb 22, 2022

Copy link
Contributor

@asvetlov asvetlov left a 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?

@graingert
Copy link
Contributor Author

@asvetlov I think this needs backporting to 3.9 and 3.10?

@graingert graingert requested a review from asvetlov February 22, 2022 17:16
@asvetlov
Copy link
Contributor

The PR doesn't change the behavior but makes unsupported things work.
Thus I think the backporting is safe.

@asvetlov asvetlov added needs backport to 3.9 only security fixes needs backport to 3.10 only security fixes labels Feb 22, 2022
@asvetlov asvetlov merged commit 8fb9489 into python:main Feb 22, 2022
@miss-islington
Copy link
Contributor

Thanks @graingert for the PR, and @asvetlov for merging it 🌮🎉.. I'm working now to backport this PR to: 3.9, 3.10.
🐍🍒⛏🤖

@bedevere-bot
Copy link

GH-31509 is a backport of this pull request to the 3.10 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Feb 22, 2022
)

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]>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Feb 22, 2022
)

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]>
@bedevere-bot bedevere-bot removed the needs backport to 3.9 only security fixes label Feb 22, 2022
@bedevere-bot
Copy link

GH-31510 is a backport of this pull request to the 3.9 branch.

@graingert graingert deleted the pass-sock-type-to-getaddrinfo-in-sock-connect branch February 22, 2022 20:51
miss-islington added a commit that referenced this pull request Feb 22, 2022
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]>
miss-islington added a commit that referenced this pull request Feb 22, 2022
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]>
hello-adam pushed a commit to hello-adam/cpython that referenced this pull request Jun 2, 2022
)

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]>
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.

5 participants