-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-127840: pass flags and address from send_fds #127841
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
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
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.
Happy to see new contributors 😄
Misc/NEWS.d/next/Library/2024-12-11-20-15-00.gh-issue-127840.pt8fiQ.rst
Outdated
Show resolved
Hide resolved
…t8fiQ.rst Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
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, thanks!
@gpshead, as one of the socket
experts, would you mind reviewing?
socket: pass flags and address from send_fds (cherry picked from commit 518c95b) Co-authored-by: Marcin Bachry <hegel666@gmail.com> Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
socket: pass flags and address from send_fds (cherry picked from commit 518c95b) Co-authored-by: Marcin Bachry <hegel666@gmail.com> Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
GH-134474 is a backport of this pull request to the 3.14 branch. |
GH-134475 is a backport of this pull request to the 3.13 branch. |
|
|
|
|
|
|
hmm, probably need to revert this while figuring those out... |
…GH-127841)" This reverts commit 518c95b.
|
|
|
|
Right, sorry about that. Forgot to wrap that socket in a context manager in a test case. It's a pity that local In any case, it's a simple fix, so I can open another pr. |
The new test is a copy of the existing test using
socketpair
. Let me know if I should refactor and merge these two somehow.