Christian Heimes <li...@cheimes.de> added the comment:
Python uses OpenSSL's a2i_IPADDRESS() to check if the hostname is actually an IP address. I'm surprised as you that the function considers a hostname like 145.100.57.105.surf-hosted.nl as a valid IP address. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue41556> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com