[Python-bugs-list] [ python-Bugs-773356 ] posix needs to generate unicode filenames where necessary

SourceForge.net noreply@sourceforge.net
Thu, 17 Jul 2003 17:24:58 -0700


Bugs item #773356, was opened at 2003-07-17 19:24
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=773356&group_id=5470

Category: Python Interpreter Core
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Skip Montanaro (montanaro)
Assigned to: Nobody/Anonymous (nobody)
Summary: posix needs to generate unicode filenames where necessary

Initial Comment:
Mac OS X supports Unicode filenames.  At the moment this
can't be enabled because when raising an IOError the
filename embedded in the IOError exception (and perhaps
others) is a plain string.  This attribute should be a
unicode object where necessary.

This can be demonstrated by building on Mac OS X with
the last line of posixpath.py replaced with

if sys.platform == "darwin": 
    supports_unicode_filenames = True
else:
    supports_unicode_filenames = False

and running the interpreter against Lib/test/test_pep277.py.

This needs to be corrected after the 2.3 release.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=773356&group_id=5470