[issue27612] socket.gethostbyname resolving octal IP addresses incorrectly

Xiang Zhang report at bugs.python.org
Mon Jul 25 09:46:56 EDT 2016


Xiang Zhang added the comment:

On Linux, it seems it's not an accident. inet_addr(3) explicitly says it can handle octal or haxadecimal forms.

----------
nosy: +xiang.zhang

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27612>
_______________________________________


More information about the Python-bugs-list mailing list