Message323533
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 |
|
Date |
User |
Action |
Args |
2018-08-14 19:05:38 | Michael.Felt | set | recipients:
+ Michael.Felt, sable, giampaolo.rodola, alef, David.Edelsohn, delhallt |
2018-08-14 19:05:38 | Michael.Felt | set | messageid: <1534273538.75.0.56676864532.issue11192@psf.upfronthosting.co.za> |
2018-08-14 19:05:38 | Michael.Felt | link | issue11192 messages |
2018-08-14 19:05:38 | Michael.Felt | create | |
|