[Python-checkins] python/dist/src/Doc/whatsnew whatsnew23.tex,1.137,1.138

loewis@users.sourceforge.net loewis@users.sourceforge.net
Fri, 18 Apr 2003 03:40:23 -0700


Update of /cvsroot/python/python/dist/src/Doc/whatsnew
In directory sc8-pr-cvs1:/tmp/cvs-serv18193/Doc/whatsnew

Modified Files:
	whatsnew23.tex 
Log Message:
Implement IDNA (Internationalized Domain Names in Applications).


Index: whatsnew23.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/whatsnew/whatsnew23.tex,v
retrieving revision 1.137
retrieving revision 1.138
diff -C2 -d -r1.137 -r1.138
*** whatsnew23.tex	14 Apr 2003 18:47:28 -0000	1.137
--- whatsnew23.tex	18 Apr 2003 10:39:51 -0000	1.138
***************
*** 1792,1795 ****
--- 1792,1816 ----
  Any breakage caused by this change should be reported as a bug.
  
+ \item Support for internationalized domain names (RFCs 3454, 3490,
+ 3491, and 3492) has been added. The ``idna'' encoding can be used
+ to convert between a Unicode domain name and the ASCII-compatible
+ encoding (ACE).
+ 
+ \begin{verbatim}
+ >>> u"www.Alliancefran\,caise.nu".encode("idna")
+ 'www.xn--alliancefranaise-npb.nu'
+ \end{verbatim}
+ 
+ In addition, the \module{socket} has been extended to transparently
+ convert Unicode hostnames to the ACE before passing them to the C
+ library. In turn, modules that pass hostnames ``through'' (such as
+ \module{httplib}, \module{ftplib}) also support Unicode host names
+ (httplib also sends ACE Host: headers). \module{urllib} supports
+ Unicode URLs with non-ASCII host names as long as the \code{path} part
+ of the URL is ASCII only.
+ 
+ To implement this change, the module \module{stringprep}, the tool
+ \code{mkstringprep} and the \code{punycode} encoding have been added.
+ 
  \end{itemize}