Changes by Radu Grigore :
--
nosy: -rgrig
___
Python tracker
<http://bugs.python.org/issue9921>
___
___
Python-bugs-list mailing list
Unsubscribe:
Radu Grigore added the comment:
Realizing I still don't know what os.join.path does, I looked at the source.
The comment in posixpath.py is:
# Ignore the previous parts if a part is absolute.
# Insert a '/' unless the first part is empty or already ends in '/'.
Radu Grigore added the comment:
posixpath.py's comment says
--
___
Python tracker
<http://bugs.python.org/issue9921>
___
___
Python-bugs-list mailing list
Radu Grigore added the comment:
I would say something like the following.
The function join(path1, path2) is almost like os.sep.join(path1, path2), but
(1) trailing path separators in path1 are ignored and (2) the result is simply
path2 when path2 is an absolute path. The call join(path1
New submission from Radu Grigore :
The docs say that "the return value is the concatenation of path1, and
optionally path2, etc., with exactly one directory separator (os.sep) inserted
between components, unless path2 is empty."
But os.path.join('x','') returns