Message340604
Since I just got bit by this despite reading the docs:
https://docs.python.org/3.8/library/os.path.html#os.path.commonpath
It lists various error cases where ValueError is raised but is missing the case where absolute paths on Windows are on different drives and I forgot to handle that:
File "C:/building/msys64/mingw64/lib/python3.7\ntpath.py", line 631, in commonpath
raise ValueError("Paths don't have the same drive")
ValueError: Paths don't have the same drive |
|
Date |
User |
Action |
Args |
2019-04-21 09:09:18 | lazka | set | recipients:
+ lazka, docs@python |
2019-04-21 09:09:18 | lazka | set | messageid: <1555837758.83.0.507858438764.issue36689@roundup.psfhosted.org> |
2019-04-21 09:09:18 | lazka | link | issue36689 messages |
2019-04-21 09:09:18 | lazka | create | |
|