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 abarry
Recipients abarry, vstinner
Date 2016-01-28.00:44:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1453941888.47.0.569899634644.issue26226@psf.upfronthosting.co.za>
In-reply-to
Content
Well, it has a non-ASCII character in it, so I wouldn't be surprised if this was the issue :)

Latest master (3.6):

>>> import socket
>>> socket.gethostname()
'Émanuel-PC'
>>> socket.gethostbyaddr(socket.gethostname())
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
socket.gaierror: [Errno 11004] getaddrinfo failed

Python 2.7.11:

>>> import socket
>>> socket.gethostname()
'\xc9manuel-PC'
>>> socket.gethostbyaddr(socket.gethostname())
('\xc9manuel-PC.home', [], ['fe80::c9b7:5117:eea4:a104'])
History
Date User Action Args
2016-01-28 00:44:48abarrysetrecipients: + abarry, vstinner
2016-01-28 00:44:48abarrysetmessageid: <1453941888.47.0.569899634644.issue26226@psf.upfronthosting.co.za>
2016-01-28 00:44:48abarrylinkissue26226 messages
2016-01-28 00:44:48abarrycreate