New submission from Michael Felt <aixto...@felt.demon.nl>:

Inspired by msg211764, issue20682

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

----------
components: Tests
messages: 324017
nosy: Michael.Felt
priority: normal
severity: normal
status: open
title: transport.get_extra_info('sockname') of test_asyncio fails on AIX
type: behavior
versions: Python 3.4, Python 3.5, Python 3.6, Python 3.7, Python 3.8

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

Reply via email to