[New-bugs-announce] [issue17683] socket.getsockname() inconsistent return type with AF_UNIX
Giampaolo Rodola'
report at bugs.python.org
Wed Apr 10 03:02:50 CEST 2013
New submission from Giampaolo Rodola':
(bytes vs. string)
>>> import socket
>>> s = socket.socket(socket.AF_UNIX)
>>> s.getsockname()
b''
>>> s.bind(('/tmp/temp'))
>>> s.getsockname()
'/tmp/temp'
>>>
----------
messages: 186472
nosy: giampaolo.rodola, pitrou
priority: normal
severity: normal
status: open
title: socket.getsockname() inconsistent return type with AF_UNIX
versions: Python 3.4
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17683>
_______________________________________
More information about the New-bugs-announce
mailing list