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 lazka
Recipients docs@python, lazka
Date 2019-04-21.09:09:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1555837758.83.0.507858438764.issue36689@roundup.psfhosted.org>
In-reply-to
Content
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
History
Date User Action Args
2019-04-21 09:09:18lazkasetrecipients: + lazka, docs@python
2019-04-21 09:09:18lazkasetmessageid: <1555837758.83.0.507858438764.issue36689@roundup.psfhosted.org>
2019-04-21 09:09:18lazkalinkissue36689 messages
2019-04-21 09:09:18lazkacreate