This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author christian.heimes
Recipients christian.heimes, seahoh
Date 2020-06-30.21:21:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1593552066.39.0.418720514855.issue41169@roundup.psfhosted.org>
In-reply-to
Content
I can reproduce the problem with 3.6 and even Python versions as old as 3.4:

Python 3.4.10rc1+ (default, Jun 30 2020, 23:15:25) 
[GCC 10.1.1 20200507 (Red Hat 10.1.1-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import socket
>>> socket.inet_pton(socket.AF_INET6,'[::]')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
OSError: illegal IP address string passed to inet_pton

Python is just mapping inet_pton(3) return value 0 to an exception. It might be possible that your libc has changed behavior.
History
Date User Action Args
2020-06-30 21:21:06christian.heimessetrecipients: + christian.heimes, seahoh
2020-06-30 21:21:06christian.heimessetmessageid: <1593552066.39.0.418720514855.issue41169@roundup.psfhosted.org>
2020-06-30 21:21:06christian.heimeslinkissue41169 messages
2020-06-30 21:21:06christian.heimescreate