Michael Felt <[email protected]> added the comment:
The original error reported was fixed by AIX - in AIX 6.1.
It will remain unresolved in AIX 5.3.
There are currently two other errors in test_socket.
FAIL: test_getnameinfo_ipv6_scopeid_symbolic
(test.test_socket.GeneralModuleTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/data/prj/python/git/python3-3.7/Lib/test/test_socket.py", line 1649,
in test_getnameinfo_ipv6_scopeid_symbolic
self.assertEqual(nameinfo, ('ff02::1de:c0:face:8d%' + test_interface,
'1234'))
AssertionError: Tuples differ: ('ff02::1de:c0:face:8d', '1234') !=
('ff02::1de:c0:face:8d%en0', '1234')
First differing element 0:
'ff02::1de:c0:face:8d'
'ff02::1de:c0:face:8d%en0'
- ('ff02::1de:c0:face:8d', '1234')
+ ('ff02::1de:c0:face:8d%en0', '1234')
? ++++
I assume the capital D in the argument in the test:
sockaddr = ('ff02::1de:c0:face:8D', 1234, 0, ifindex) # Note capital
letter `D`.
is meant to trigger getting the IPv6 zoneinfo based on ifindex.
AIX does have a routine to strip zoneinfo off an IPv6 address, but the
getnameinfo() and getaddrinfo() do not support this.
I can create a new issue specifically for IPv6 zone id issue, or I can add a PR
here.
Please advise (the PR is merely adding "skipUnless" logic to test_socket.py.
ERROR: test_getaddrinfo_ipv6_scopeid_symbolic
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue11192>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com