[issue36689] docs: os.path.commonpath raises ValueError for different drives

Windson Yang report at bugs.python.org
Sun May 12 20:25:44 EDT 2019


Windson Yang <wiwindson at outlook.com> added the comment:

An easy fix would be 

"Raise ValueError if paths contain (note: use contain instead of contains) both absolute and relative pathnames or the path are on the different drives."

----------
nosy: +Windson Yang

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36689>
_______________________________________


More information about the Python-bugs-list mailing list