Christian Heimes <li...@cheimes.de> added the comment:

In your example you are binding to [::1]. That's suppose to work. Binding or 
connecting to [::] does not work for me on Linux:


>>> addr = '[::]', 8888
>>> s = socket.socket(socket.AF_INET6)
>>> s.bind(addr)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
socket.gaierror: [Errno -2] Name or service not known
>>> s.connect(addr)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
socket.gaierror: [Errno -2] Name or service not known

----------

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

Reply via email to