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 rbarran
Recipients
Date 2006-01-30.21:54:43
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=1207189

Here is a second version of the 'relpath' function.
I've modified it as per Neal Norwitz's comments, with two
exceptions:

- I've left in a check for a path supplied on input, as
otherwise an unclear exception is raised.
- I haven't written any test cases for exceptions in
ntpath.py, as the "tester" function doesn't seem to handle them.

This function (if accepted) will also require the following
addition to the documentation:

relpath(path, start=os.curdir) 
Return a relative filepath to 'path' either from the current
directory or from an optional 'start' point.
History
Date User Action Args
2007-08-23 15:44:22adminlinkissue1339796 messages
2007-08-23 15:44:22admincreate