In short:
For address family of AF_UNIX or AF_UNIX_CCSID, getsockname() returns 0 if issued before a bind(). The address length is 0. This is always the case for sockets created by socketpair().
That is at least one possible explanation I found.
Have tested on AIX 6.1 and AIX 7.1 - transport.get_extra_info('sockname') returns None
New changeset d0491cd by Andrew Svetlov in branch '3.7':
[3.7] bpo-34490: Fix test_asyncio for AIX - do not call transport.get_extra_info('sockname') (GH-8907) (bpo-9286) d0491cd
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: