-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
gh-91498: socket: Add TCP_CONNECTION_INFO on macOS #69256
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
gh-91498: socket: Add TCP_CONNECTION_INFO on macOS #69256
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.
This should also be added to Doc/library/socket.rst
, similar to the existing notes under https://docs.python.org/3.10/library/socket.html#socket.SOMAXCONN.
@@ -0,0 +1 @@ | |||
Adding ``TCP_CONNECTION_INFO`` macOs' option for the socketmodule |
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.
Adding ``TCP_CONNECTION_INFO`` macOs' option for the socketmodule | |
Add the ``TCP_CONNECTION_INFO`` option (available on macOS) to :mod:`socket`. |
Also, this should have an associated issue. Your NEWS entry refers to https://bugs.python.org/issue69256 which doesn't exist. We're in the process of moving to GitHub right now; once that's done (in a few hours I believe) you should make an associated GitHub issue. |
036540c
to
07e935f
Compare
07e935f
to
ae87fea
Compare
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.
Compiled on my Mac and it's indeed present
>>> socket.TCP_CONNECTION_INFO
262
closes: #91498