]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-114887 Reject only sockets of type SOCK_STREAM in create_datagram_endpoint() ...
authorTravis Howse <tjhowse@gmail.com>
Sat, 3 Feb 2024 17:14:02 +0000 (03:14 +1000)
committerGitHub <noreply@github.com>
Sat, 3 Feb 2024 17:14:02 +0000 (17:14 +0000)
commit94ec2b9c9ce898723c3fe61fbc64d6c8f4f68700
treeab379dde3a2f67767902ba4d4836cbde3b1c5312
parent6b53d5fe04eadad76fb3706f0a4cc42d8f19f948
gh-114887 Reject only sockets of type SOCK_STREAM in create_datagram_endpoint() (#114893)

Also improve exception message.

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]