summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next
diff options
context:
space:
mode:
authorVincent Bernat <vincent@bernat.ch>2022-03-28 21:50:26 (GMT)
committerGitHub <noreply@github.com>2022-03-28 21:50:26 (GMT)
commit5c30388f3c586ba2f33e349e22e5949cb92de621 (patch)
tree30da9205341b0550b11ac4ecd22243b0ab10a522 /Misc/NEWS.d/next
parent7b44ade018cfe6f54002a3cee43e8aa415d4d635 (diff)
downloadcpython-5c30388f3c586ba2f33e349e22e5949cb92de621.zip
cpython-5c30388f3c586ba2f33e349e22e5949cb92de621.tar.gz
cpython-5c30388f3c586ba2f33e349e22e5949cb92de621.tar.bz2
bpo-27929: resolve names only for AF_INET/AF_INET6 with asyncio (GH-32131)
Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
Diffstat (limited to 'Misc/NEWS.d/next')
-rw-r--r--Misc/NEWS.d/next/Library/2022-03-28-13-35-50.bpo-27929.j5mAmV.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2022-03-28-13-35-50.bpo-27929.j5mAmV.rst b/Misc/NEWS.d/next/Library/2022-03-28-13-35-50.bpo-27929.j5mAmV.rst
new file mode 100644
index 0000000..4c80a10
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2022-03-28-13-35-50.bpo-27929.j5mAmV.rst
@@ -0,0 +1,3 @@
+Fix :meth:`asyncio.loop.sock_connect` to only resolve names for :const:`socket.AF_INET` or
+:const:`socket.AF_INET6` families. Resolution may not make sense for other families,
+like :const:`socket.AF_BLUETOOTH` and :const:`socket.AF_UNIX`.