Terry J. Reedy added the comment: Serhiy claims that the commit of Mark's version of your patch in #5799 fixed this in 3.1. Retesting in IDLE, 3.3, Win7:
>>> import os >>> d = '//?/e:/python-test/dir' >>> d = os.path.split(d)[0] >>> d '//?/e:/python-test' >>> d = os.path.split(d)[0] >>> d '//?/e:/' >>> d = os.path.split(d)[0] >>> d '//?/e:/' So the splitting ends where Kalle agrees it should. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15880> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com