[Python-Dev] Adding the 'path' module (was Re: Some RFE for review)

Skip Montanaro skip at pobox.com
Sun Jun 26 21:31:21 CEST 2005


    Phillip> It has many ways to do the same thing, and many of its property
    Phillip> and method names are confusing because they either do the same
    Phillip> thing as a standard function, but have a different name (like
    Phillip> the 'parent' property that is os.path.dirname in disguise), or
    Phillip> they have the same name as a standard function but do something
    Phillip> different (like the 'listdir()' method that returns full paths
    Phillip> rather than just filenames).  

To the extent that the path module tries to provide a uniform abstraction
that's not saddled with a particular way of doing things (e.g., the Unix way
or the Windows way), I don't think this is necessarily a bad thing.

Skip


More information about the Python-Dev mailing list