This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author nidoizo
Recipients
Date 2004-02-11.16:36:28
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
I would be nice to have a function to do the exact
opposite of os.path.join, something like an
os.path.splitall or fullsplit.

Rationale:
Currently, on Windows, using os.path.split produce the
following result:
 os.path.split('Z:/xyz') => ('Z:/', 'xyz')
It exceptionaly keep the \ after the drive.  This
exception makes str.split incompatible with
os.path.join that is expecting the \.

Spliting fully a path is useful when transforming
absolute paths to relative paths.  I could also be nice
to have a function to do that in os.path.
History
Date User Action Args
2007-08-23 15:32:20adminlinkissue894936 messages
2007-08-23 15:32:20admincreate