Eryk Sun <eryk...@gmail.com> added the comment:

Update from my previous comment in 2016: in Python 3.7+, the socket module's 
setipaddr() function calls Winsock inet_pton() instead of inet_addr(), and 
falls back on getaddrinfo(). Neither supports octal addresses. At least using 
octal fails instead of mistakenly parsing as decimal.

----------
versions: +Python 3.10, Python 3.8, Python 3.9 -Python 2.7, Python 3.3, Python 
3.5

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

Reply via email to