Serhiy Storchaka added the comment: > At the moment, this is only implemented for POSIX, as I don't feel like I > know enough about Windows to tackle drive letters and UNC in paths without > spending some more time on it.
Just use splitdrive() and first ensure that all drivespecs are same, then find common prefix for pathspecs. ---------- nosy: +serhiy.storchaka _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10395> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com