[Python-checkins] CVS: python/nondist/peps pep-0277.txt,1.1,1.2

Barry Warsaw bwarsaw@users.sourceforge.net
Fri, 25 Jan 2002 05:09:36 -0800


Update of /cvsroot/python/python/nondist/peps
In directory usw-pr-cvs1:/tmp/cvs-serv22667

Modified Files:
	pep-0277.txt 
Log Message:
An update from Neil, who writes:

    Removed unicodefilenames function as semantics unclear on other
    platforms.  Commented on future compatibilty with 4 byte Unicode.


Index: pep-0277.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0277.txt,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** pep-0277.txt	2002/01/13 00:13:38	1.1
--- pep-0277.txt	2002/01/25 13:09:34	1.2
***************
*** 67,76 ****
      path argument is Unicode.
  
-     To allow client code to determine that these features are
-     implemented, the unicodefilenames function is provided.  This
-     function returns true when the underlying system supports file
-     names containing most Unicode characters and any valid file name
-     may be passed to open as a Unicode string.
- 
  
  Restrictions
--- 67,70 ----
***************
*** 90,94 ****
      accept 4 byte characters, the features described in this proposal
      will not work in this mode so the implementation falls back to the
!     current 'mbcs' encoding technique.
  
  
--- 84,91 ----
      accept 4 byte characters, the features described in this proposal
      will not work in this mode so the implementation falls back to the
!     current 'mbcs' encoding technique. This retriction could be lifted
!     in the future by performing extra conversions using
!     PyUnicode_AsWideChar but for now that would add too much
!     complexity for a very rarely used feature.