Éric Araujo <mer...@netwok.org> added the comment: I’m not sure this is correct for POSIX: splitpath('/gparent/parent/') returns ['gparent', 'parent']
/ is a real directory, it should be the ultimate parent of any path IIUC. On a related note, using “parent” for the leaf file looks strange to me, I think something like this would make more sense: /gparent/parent/somedir/ ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11344> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com