-
-
Notifications
You must be signed in to change notification settings - Fork 29.2k
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-114887 Reject only sockets of type SOCK_STREAM in create_datagram_endpoint(), improve exception message. #114893
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 |
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 |
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.
LGTM. Can you add a brief blurb? Then I'll merge it.
Misc/NEWS.d/next/Core and Builtins/2024-02-03-04-07-18.gh-issue-114887.uLSFmN.rst
Outdated
Show resolved
Hide resolved
Misc/NEWS.d/next/Core and Builtins/2024-02-03-04-07-18.gh-issue-114887.uLSFmN.rst
Outdated
Show resolved
Hide resolved
Co-authored-by: Donghee Na <donghee.na92@gmail.com>
Is it worth backporting to 3.12 and 3.11? |
|
…agram_endpoint() (python#114893) Also improve exception message. Co-authored-by: Donghee Na <donghee.na92@gmail.com>
…ate_datagram_endpoint() (pythonGH-114893) Also improve exception message. (cherry picked from commit 94ec2b9) Co-authored-by: Travis Howse <tjhowse@gmail.com> Co-authored-by: Donghee Na <donghee.na92@gmail.com>
…ate_datagram_endpoint() (pythonGH-114893) Also improve exception message. (cherry picked from commit 94ec2b9) Co-authored-by: Travis Howse <tjhowse@gmail.com> Co-authored-by: Donghee Na <donghee.na92@gmail.com>
GH-114979 is a backport of this pull request to the 3.11 branch. |
GH-114980 is a backport of this pull request to the 3.12 branch. |
…agram_endpoint() (python#114893) Also improve exception message. Co-authored-by: Donghee Na <donghee.na92@gmail.com>
…agram_endpoint() (python#114893) Also improve exception message. Co-authored-by: Donghee Na <donghee.na92@gmail.com>
Details in #114887.