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 ocean-city
Recipients eli.bendersky, ocean-city
Date 2009-01-31.08:34:59
SpamBayes Score 7.316861e-05
Marked as misclassified No
Message-id <1233390901.51.0.287818137731.issue5117@psf.upfronthosting.co.za>
In-reply-to
Content
About this,

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

Same happens on posixpath.

from posixpath import relpath
print relpath(r'/abc', r'/') #=> ../abc

I'll look at the code.
History
Date User Action Args
2009-01-31 08:35:01ocean-citysetrecipients: + ocean-city, eli.bendersky
2009-01-31 08:35:01ocean-citysetmessageid: <1233390901.51.0.287818137731.issue5117@psf.upfronthosting.co.za>
2009-01-31 08:34:59ocean-citylinkissue5117 messages
2009-01-31 08:34:59ocean-citycreate