]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-114887 Reject only sockets of type SOCK_STREAM in create_da… (#114980)
authorTravis Howse <tjhowse@gmail.com>
Sun, 4 Feb 2024 23:42:06 +0000 (09:42 +1000)
committerGitHub <noreply@github.com>
Sun, 4 Feb 2024 23:42:06 +0000 (15:42 -0800)
commit49fbb068d5d9398b0be746cecb8e0fe214b2654b
treecab59af8f39c2f53a558adab88df284073907316
parent27cacdd5b4788fa23f618b4d8d1d0ebf8b740930
[3.12] gh-114887 Reject only sockets of type SOCK_STREAM in create_da… (#114980)

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]