[issue39250] os.path.commonpath() not so common

2020-01-07 Thread Filipp Lepalaan
Filipp Lepalaan added the comment: Hi Zach! You're absolutely right. Forgive my ignorance. Too much staring at the trees and not seeing the forest (or vice versa). commonpath() works as advertised. I'm just looking for something different. Sorry for the false alarm. You can

[issue39250] os.path.commonpath() not so common

2020-01-07 Thread Filipp Lepalaan
New submission from Filipp Lepalaan : The documentation describes os.path.commonpath() as: "Return the longest common sub-path of each pathname in the sequence paths. Raise ValueError if paths contain both absolute and relative pathnames, the paths are on the different drives or if pat