]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-39148: enable ipv6 for datagrams in Proactor (GH-19121)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 18 May 2020 06:42:25 +0000 (23:42 -0700)
committerGitHub <noreply@github.com>
Mon, 18 May 2020 06:42:25 +0000 (23:42 -0700)
commit94d9c5e5afdee4f46be9d9faaa39d6be40c34849
tree9eb6060cd253338cfdc338648bda908034043baf
parentc1f1ddf30a595c2bfa3c06e54fb03fa212cd28b5
bpo-39148: enable ipv6 for datagrams in Proactor (GH-19121)

Ifdef is not necessary, as AF_INET6 is supported from Windows Vista, and other code in overlapped.c uses AF_INET6 and is not ifdef'd.
Change the raised exception so users are not fooled to think it comes from Windows API.

Automerge-Triggered-By: @njsmith
(cherry picked from commit 442634c42fcaf31c636f693951a97734042c3e7b)

Co-authored-by: Kjell Braden <afflux@pentabarf.de>
Lib/test/test_asyncio/test_events.py
Misc/NEWS.d/next/Windows/2020-03-23-19-07-55.bpo-39148.W1YJEb.rst [new file with mode: 0644]
Modules/overlapped.c