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 <rep...@bugs.python.org> <http://bugs.python.org/issue17683> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com