[issue1027206] unicode DNS names in socket, urllib, urlopen
David Watson
report at bugs.python.org
Mon Mar 22 22:55:37 CET 2010
David Watson <baikie at users.sourceforge.net> added the comment:
I was about to report this for the socket module - the gethostbyname(), gethostbyname_ex() and getnameinfo() functions are the only things currently affected in that module as far as I can see. 3.x is affected too - the functions will pass non-ASCII Unicode to the system as UTF-8 there. The attached patch fixes them in 2.x and 3.x.
----------
keywords: +patch
nosy: +baikie
versions: +Python 3.2, Python 3.3
Added file: http://bugs.python.org/file16624/idna.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1027206>
_______________________________________
More information about the Python-bugs-list
mailing list