[ python-Bugs-1475009 ] Document os.path.join oddity on Windows
SourceForge.net
noreply at sourceforge.net
Fri Apr 28 18:37:41 CEST 2006
Bugs item #1475009, was opened at 2006-04-23 13:08
Message generated for change (Comment added) made by gbrandl
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1475009&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Library
Group: Python 2.4
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Miki Tebeka (tebeka)
Assigned to: Nobody/Anonymous (nobody)
Summary: Document os.path.join oddity on Windows
Initial Comment:
Please document that on windows
os.path.join("m:\\noo", "\\woo") => '\\woo'
>From reading the code I see that this is intetional,
however it need to be documented.
----------------------------------------------------------------------
>Comment By: Georg Brandl (gbrandl)
Date: 2006-04-28 16:37
Message:
Logged In: YES
user_id=849994
The documentation was already there. I added a parenthetical
note that on Windows, the drive letter is also thrown away.
(rev. 45781, 45782)
----------------------------------------------------------------------
Comment By: Tim Peters (tim_one)
Date: 2006-04-23 17:38
Message:
Logged In: YES
user_id=31435
Noting that there's nothing special about Windows here:
>>> import posixpath
>>> posixpath.join('/noo', '/woo')
'/woo'
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1475009&group_id=5470
More information about the Python-bugs-list
mailing list