[issue6651] Py3k's posixpath.relpath not compatible with ntpath.relpath

Erick Tryzelaar report at bugs.python.org
Wed Aug 5 21:23:12 CEST 2009


New submission from Erick Tryzelaar <idadesub at users.sourceforge.net>:

It looks like Python 3.x's relpath isn't compatible between posixpath
and ntpath. In posixpath.relpath, the start keyword defaults to None,
but ntpath.relpath, the start keyword defaults to curdir.

Interestingly enough, 2.6 and 2.7 have a different implementation of
posixpath.relpath, where it explicitly sets the start to equal curdir,
just like ntpath does.

----------
components: Library (Lib)
messages: 91327
nosy: erickt
severity: normal
status: open
title: Py3k's posixpath.relpath not compatible with ntpath.relpath
type: performance
versions: Python 3.0, Python 3.1, Python 3.2

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


More information about the Python-bugs-list mailing list