PEP on path module for standard library
Michael Hoffman
cam.ac.uk at mh391.invalid
Fri Jul 22 15:22:45 EDT 2005
Scott David Daniels wrote:
> Duncan Booth wrote:
>
>> BTW, does it matter at all in practical use that the base class of
>> path varies between str and unicode depending on the platform?
>
> Isn't it even worse than this?
> On Win2K & XP, don't the file systems have something to do with the
> encoding? So D: (a FAT drive) might naturally be str, while C:
> (an NTFS drive) might naturally be unicode.
The current path module handles these situations at least as well as the
libraries that come with Python do. ;-)
--
Michael Hoffman
More information about the Python-list
mailing list