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

2020-01-07 Thread Zachary Ware
Zachary Ware added the comment: No problem :) -- resolution: -> works for me stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[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 close this issue

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

2020-01-07 Thread Zachary Ware
Zachary Ware added the comment: I'm not seeing how `/var` has `/var/log` in common with `/var/log` and `/var/log/nginx`. -- nosy: +zach.ware ___ Python tracker ___ __

[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 paths is e