This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author giampaolo.rodola
Recipients giampaolo.rodola, gvanrossum, neologix, pitrou
Date 2013-04-10.14:50:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Note that if we pass bytes to bind(), getsockname() will return str anyway:

>>> s = socket.socket(socket.AF_UNIX)
>>> s.bind(b'hello')
>>> s.getsockname()

That said, it seems more consistent to me to return str also in case of abstract namespace. 
As per: is supposed to set only the first byte to null, and the rest of the path is supposed to be a 'plain' string.
Date User Action Args
2013-04-10 14:50:35giampaolo.rodolasetrecipients: + giampaolo.rodola, gvanrossum, pitrou, neologix
2013-04-10 14:50:35giampaolo.rodolasetmessageid: <>
2013-04-10 14:50:34giampaolo.rodolalinkissue17683 messages
2013-04-10 14:50:34giampaolo.rodolacreate