Message12754
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`. |
|
Date |
User |
Action |
Args |
2019-11-05 11:51:11 | pekka.klarck | set | messageid: <1572954671.65.0.548998041456.issue2824@roundup.psfhosted.org> |
2019-11-05 11:51:11 | pekka.klarck | set | recipients:
+ pekka.klarck |
2019-11-05 11:51:11 | pekka.klarck | link | issue2824 messages |
2019-11-05 11:51:11 | pekka.klarck | create | |
|