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 |
gvanrossum
left a comment
There was a problem hiding this comment.
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.