Antoine Pitrou added the comment:

> Changing support.HOST from 'localhost' to '127.0.0.1' means that on
> dual-stack
> hosts (I don't think the test suite would run on IPv6-only hosts
> anyway), the
> tests will now always use IPv4, whereas they are currently using
> either IPv6 or
> IPv4 addresses depending on the host's name resolution settings.

That would only be true if the server we are contacting happens to
listen on both IPv6 and IPv4, right? I don't think we have such a
situation in the test suite. Clients can use create_connection()
for transparent support of IPv6 and IPv4, but servers have to choose
a family when creating their socket.

----------

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

Reply via email to