[Python-checkins] python/dist/src/Lib posixpath.py,1.60,1.61
jvr@users.sourceforge.net
jvr@users.sourceforge.net
Fri, 11 Jul 2003 00:36:51 -0700
Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1:/tmp/cvs-serv2061
Modified Files:
posixpath.py
Log Message:
[ 767645 ] correctly set the os.path.supports_unicode_filenames flag for OSX
Index: posixpath.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/posixpath.py,v
retrieving revision 1.60
retrieving revision 1.61
diff -C2 -d -r1.60 -r1.61
*** posixpath.py 19 Jun 2003 10:21:13 -0000 1.60
--- posixpath.py 11 Jul 2003 07:36:49 -0000 1.61
***************
*** 11,14 ****
--- 11,15 ----
"""
+ import sys
import os
import stat
***************
*** 417,419 ****
return filename
! supports_unicode_filenames = False
--- 418,423 ----
return filename
! if sys.platform == "darwin":
! supports_unicode_filenames = True
! else:
! supports_unicode_filenames = False