[issue26227] Windows: socket.gethostbyaddr(name) fails for non-ASCII hostname
William Dias
report at bugs.python.org
Sat Dec 14 19:28:14 EST 2019
William Dias <william.dias at gmail.com> added the comment:
Shouldn't this issue be solved for Python 3.7.5? Or do I have to manually apply the patch?
I have a windows 8.1 x64 PC whose hostname contains special characters. When creating a socket, the gethostbyaddr() method raises a UnicodeDecodeError: 'utf-8' codec can't decode byt 0xe1 in position 1.
Let me know if you need more information.
Thanks
----------
nosy: +williamdias
type: -> crash
versions: +Python 3.7 -Python 3.5, Python 3.6
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue26227>
_______________________________________
More information about the Python-bugs-list
mailing list