Emanuel Barry added the comment: 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']) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26226> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com