Giacomo Caironi <giacomo.cair...@gmail.com> added the comment:

Why do you say that `getaddrinfo()` is called at the interpreter shutdown 
state? On my machine it works and the output is [(<AddressFamily.AF_INET: 2>, 
<SocketKind.SOCK_STREAM: 1>, 6, '', ('216.58.208.132', 8333)), 
(<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_DGRAM: 2>, 17, '', 
('216.58.208.132', 8333)), (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_RAW: 
3>, 0, '', ('216.58.208.132', 8333)), (<AddressFamily.AF_INET6: 10>, 
<SocketKind.SOCK_STREAM: 1>, 6, '', ('2a00:1450:4002:805::2004', 8333, 0, 0)), 
(<AddressFamily.AF_INET6: 10>, <SocketKind.SOCK_DGRAM: 2>, 17, '', 
('2a00:1450:4002:805::2004', 8333, 0, 0)), (<AddressFamily.AF_INET6: 10>, 
<SocketKind.SOCK_RAW: 3>, 0, '', ('2a00:1450:4002:805::2004', 8333, 0, 0))], 
which is printed on the console

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue42466>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to