]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-114887 Reject only sockets of type SOCK_STREAM in create_da… (#114979)
authorTravis Howse <tjhowse@gmail.com>
Mon, 5 Feb 2024 04:01:37 +0000 (14:01 +1000)
committerGitHub <noreply@github.com>
Mon, 5 Feb 2024 04:01:37 +0000 (20:01 -0800)
commit5ce076fd92306a0c41cf574221b930d54374bb47
treeda54b4b0357f7e5b7353d3c17d09ecdba7973b82
parent510eb4e6a8f1153119ac51031913676abdc44bb7
[3.11] gh-114887 Reject only sockets of type SOCK_STREAM in create_da… (#114979)

Also improve exception message.

(cherry picked from commit 94ec2b9c9ce898723c3fe61fbc64d6c8f4f68700)

Co-authored-by: Donghee Na <donghee.na92@gmail.com>
Lib/asyncio/base_events.py
Lib/test/test_asyncio/test_base_events.py
Misc/NEWS.d/next/Core and Builtins/2024-02-03-04-07-18.gh-issue-114887.uLSFmN.rst [new file with mode: 0644]