[Python-checkins] python/dist/src/Doc/whatsnew whatsnew23.tex,1.53,1.54

loewis@users.sourceforge.net loewis@users.sourceforge.net
Mon, 07 Oct 2002 11:52:31 -0700


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

Modified Files:
	whatsnew23.tex 
Log Message:
Document PEP 277 changes.


Index: whatsnew23.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/whatsnew/whatsnew23.tex,v
retrieving revision 1.53
retrieving revision 1.54
diff -C2 -d -r1.53 -r1.54
*** whatsnew23.tex	4 Oct 2002 22:34:11 -0000	1.53
--- whatsnew23.tex	7 Oct 2002 18:52:29 -0000	1.54
***************
*** 307,312 ****
  
  \seepep{263}{Defining Python Source Code Encodings}{Written by
! Marc-Andr\'e Lemburg and Martin von L\"owis; implemented by Martin von
! L\"owis.}
  
  \end{seealso}
--- 307,312 ----
  
  \seepep{263}{Defining Python Source Code Encodings}{Written by
! Marc-Andr\'e Lemburg and Martin von L\"owis; implemented by SUZUKI
! Hisao and Martin von L\"owis.}
  
  \end{seealso}
***************
*** 314,320 ****
  
  %======================================================================
! \section{PEP 277: XXX}
  
! XXX write this section
  
  
--- 314,346 ----
  
  %======================================================================
! \section{PEP 277: Unicode file name support for Windows NT}
  
! On Windows NT, 2000, and XP, the system stores file names as Unicode
! strings. Traditionally, Python has represented file names are byte
! strings, which is inadequate since it renders some file names
! inaccessible.
! 
! Python allows now to use arbitrary Unicode strings (within limitations
! of the file system) for all functions that expect file names, in
! particular \function{open}. If a Unicode string is passed to
! \function{os.listdir}, Python returns now a list of Unicode strings.
! A new function \function{getcwdu} returns the current directory as a
! Unicode string.
! 
! Byte strings continue to work as file names, the system will
! transparently convert them to Unicode using the \code{mbcs} encoding.
! 
! Other systems allow Unicode strings as file names as well, but convert
! them to byte strings before passing them to the system, which may
! cause UnicodeErrors. Applications can test whether arbitrary Unicode
! strings are supported as file names with \code{os.path.unicode_file_names}.
! 
! \begin{seealso}
! 
! \seepep{277}{Unicode file name support for Windows NT}{Written by Neil
! Hodgson; implemented by Neil Hodgson, Martin von L\"owis, and Mark
! Hammond.}
! 
! \end{seealso}