[issue34105] test_socket.test_host_resolution_bad_address fails on Mac OS X 10.13.6

Ronald Oussoren report at bugs.python.org
Thu Aug 2 16:08:49 EDT 2018


Ronald Oussoren <ronaldoussoren at mac.com> added the comment:

This is not expected, but I don't know where the problem is.

On my machine I get:

>>> socket.gethostbyname('0.1.1.~1')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
socket.gaierror: [Errno 8] nodename nor servname provided, or not known

This is on a machine running 10.13.6:

$ sw_vers
ProductName:	Mac OS X
ProductVersion:	10.13.6
BuildVersion:	17G65

I'm using a checkout of master of about a week all, and get the same exception with 3.7.0.  I also get the same exception on the current beta of macOS 10.14 (With python 3.7.0)

I'm currently building the current master to check if that changes anything.

----------

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


More information about the Python-bugs-list mailing list