[issue767645] incorrect os.path.supports_unicode_filenames

Ned Deily report at bugs.python.org
Tue Sep 14 00:07:23 CEST 2010

Ned Deily <nad at acm.org> added the comment:

There seems to be some confusion about the macpath.py module.  I'm not sure why it even exists in Python 3.  Note it has to do with obsolete Classic MacOS-style paths (colon-separated paths) which are available on Mac OS X only through deprecated Carbon interfaces.  I'm not even sure that those style paths do support unicode.  More importantly, the underlying Carbon interfaces that macpath.py uses were removed for Python 3.  AFAIK, virtually nothing on OS X uses these style paths anymore and, with the removal of all the old Mac Carbon support in Python 3, I don't think there is any Python module that can use these paths other than macpath.  I think this module should be marked for deprecation and removed.  There is no reason to modify it nor add a NEWS note, even for 2.7.

nosy: +ned.deily, ronaldoussoren

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list