[issue18308] checkRecvmsgAddress wrong in test_socket.py (AIX failures)

David Edelsohn report at bugs.python.org
Thu Jul 4 04:13:42 CEST 2013


David Edelsohn added the comment:

The patch in msg192259 probably will work on the particular AIX system runnnig the buildbot, but I do not believe that the patch is the correct solution for the problem.

scope_id 1 is not necessarily the correct link for IPv6 address ::1. The scope_id values are system dependent and the result could be any value depending on the interfaces available on the particular system running the test. scope_id 1 might not exist on the system, and forcing that value would generate an error.

I think the safest solution is not to compare scope_id when comparing addresses.

----------

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


More information about the Python-bugs-list mailing list