[issue5117] os.path.relpath problem with root drive directory on windows

eliben report at bugs.python.org
Sat Jan 31 09:46:41 CET 2009


eliben <eliben at gmail.com> added the comment:

The problem is with these lines:

    start_list = abspath(start).split(sep)
    path_list = abspath(path).split(sep)

In case of 'd:\', the split returns two elements, the second empty.

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5117>
_______________________________________


More information about the Python-bugs-list mailing list