David Watson <bai...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue1027206>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to