Antoine Pitrou <pit...@free.fr> added the comment:

It seems to break at least one buildbot:

======================================================================
ERROR: testSourceAddress (test.test_socket.NetworkConnectionAttributesTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/var/lib/buildslave/trunk.murray-gentoo-wide/build/Lib/test/test_socket.py", 
line 120, in _tearDown
    self.fail(msg)
AssertionError: Tuples differ: ('199.125.120.107', 40732) != ('127.0.0.1', 
40732)

First differing element 0:
199.125.120.107
127.0.0.1

- ('199.125.120.107', 40732)
+ ('127.0.0.1', 40732)

----------------------------------------------------------------------
Ran 100 tests in 11.505s

By the way, does the new "source_address" parameter have to be of the
same family as the target address?  That is, if I pass e.g. "127.0.0.1"
as source address, what happens if the target host resolves to an IPv6
address?

----------

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

Reply via email to