[ python-Bugs-1475009 ] Document os.path.join oddity on Windows

SourceForge.net noreply at sourceforge.net
Sun Apr 23 19:38:28 CEST 2006


Bugs item #1475009, was opened at 2006-04-23 09:08
Message generated for change (Comment added) made by tim_one
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: Open
Resolution: None
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: Tim Peters (tim_one)
Date: 2006-04-23 13: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