forked from python/cpython
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bpo-27929: resolve names only for AF_INET/AF_INET6 with asyncio (pyth…
…onGH-32131) Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
- Loading branch information
1 parent
7b44ade
commit 5c30388
Showing
2 changed files
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
Misc/NEWS.d/next/Library/2022-03-28-13-35-50.bpo-27929.j5mAmV.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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`. |