[New-bugs-announce] [issue34490] transport.get_extra_info('sockname') of test_asyncio fails on AIX

Michael Felt report at bugs.python.org
Fri Aug 24 16:46:20 EDT 2018


New submission from Michael Felt <aixtools at 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 <report at bugs.python.org>
<https://bugs.python.org/issue34490>
_______________________________________


More information about the New-bugs-announce mailing list