[issue27612] socket.gethostbyname resolving octal IP addresses incorrectly

Xiang Zhang report at bugs.python.org
Mon Jul 25 12:05:07 EDT 2016


Xiang Zhang added the comment:

A similar bug report can be seen at https://github.com/dotnet/corefx/issues/8362. There someone makes a conclusion that getaddrinfo (Python seems to use getaddrinfo to implement gethostbyname) doesn't work correctly with octal form. They finally ignore this inconsistent behaviour.

----------

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


More information about the Python-bugs-list mailing list