[issue18222] os.path.abspath should accept multiple path parts and join them

Łukasz Langa report at bugs.python.org
Sat Jun 15 16:00:28 CEST 2013


Łukasz Langa added the comment:

Would you expect to make the following also accept a sequence of path elements?

- normpath, realpath, relpath
- dirname
- exists, lexists
- expanduser, expandvars
- isdir, isfile, islink
- getsize, etc.

I agree with R. David's sentiment. Moreover, relpath takes an optional second argument which would make this change backward incompatible.

----------
nosy: +lukasz.langa
versions:  -Python 3.5

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


More information about the Python-bugs-list mailing list