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 eli.bendersky
Recipients eli.bendersky
Date 2009-01-31.07:25:51
SpamBayes Score 0.030029237
Marked as misclassified No
Message-id <1233386752.72.0.952122419494.issue5117@psf.upfronthosting.co.za>
In-reply-to
Content
This is correct:

relpath(r'd:\abc\jho', r'd:\abc')
=> 'jho'

But this isn't:
relpath(r'd:\jho', r'd:\\')
=> '..\jho'

Neither is this:
relpath(r'd:\jho', r'd:')
=> '..\..\..\jho'
History
Date User Action Args
2009-01-31 07:25:53eli.benderskysetrecipients: + eli.bendersky
2009-01-31 07:25:52eli.benderskysetmessageid: <1233386752.72.0.952122419494.issue5117@psf.upfronthosting.co.za>
2009-01-31 07:25:51eli.benderskylinkissue5117 messages
2009-01-31 07:25:51eli.benderskycreate