[issue41169] socket.inet_pton raised when pass an IPv6 address like "[::]" to it

Wator Sead report at bugs.python.org
Thu Jul 2 20:26:09 EDT 2020


Wator Sead <seahoh at gmail.com> added the comment:

The point is square brackets, not the address, they (socket.inet_pton and socket.socket) behave different. Can make it not be accepted, any conditions?

----------
versions:  -Python 3.7, Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41169>
_______________________________________


More information about the Python-bugs-list mailing list