Message12754

Author pekka.klarck
Recipients pekka.klarck
Date 2019-11-05.11:51:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1572954671.65.0.548998041456.issue2824@roundup.psfhosted.org>
In-reply-to
Content
This bug affects also functions that use `os.path.abspath` internally such as `os.path.relpath`:

>>> os.path.relpath(r'\foo\bar', r'c:\temp')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\jython2.7.2b2\Lib\ntpath.py", line 511, in relpath
    raise ValueError("path is on drive %s, start on drive %s"
ValueError: path is on drive , start on drive c:


The above works fine with CPython and Jython 2.7.1 and the result is `..\foo\bar`.
History
Date User Action Args
2019-11-05 11:51:11pekka.klarcksetmessageid: <1572954671.65.0.548998041456.issue2824@roundup.psfhosted.org>
2019-11-05 11:51:11pekka.klarcksetrecipients: + pekka.klarck
2019-11-05 11:51:11pekka.klarcklinkissue2824 messages
2019-11-05 11:51:11pekka.klarckcreate