[ python-Bugs-1027206 ] unicode DNS names in socket, urllib, urlopen
SourceForge.net
noreply at sourceforge.net
Mon Sep 13 14:38:17 CEST 2004
Bugs item #1027206, was opened at 2004-09-13 14:38
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1027206&group_id=5470
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Damjan Georgievski (gdamjan)
Assigned to: Nobody/Anonymous (nobody)
Summary: unicode DNS names in socket, urllib, urlopen
Initial Comment:
http://docs.python.org/whatsnew/node18.html says that
unicode host names are allowed in the socket module
(automatically converting them by the IDNA spec), but
is seems the support is not fully implemented.
only the connect method of a socket instance will do
the auto conversion to a 'idna' string.
socket.getaddr* functions will not!
Also other modules should support unicode hostnames.
(httplib already does) but urllib and urllib2 don't.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1027206&group_id=5470
More information about the Python-bugs-list
mailing list