Issue 1475009: Document os.path.join oddity on Windows (original) (raw)

Issue1475009

Created on 2006-04-23 13:08 by tebeka, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (3)
msg28330 - (view) Author: Miki Tebeka (tebeka) * Date: 2006-04-23 13:08
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.
msg28331 - (view) Author: Tim Peters (tim.peters) * (Python committer) Date: 2006-04-23 17:38
Logged In: YES user_id=31435 Noting that there's nothing special about Windows here: >>> import posixpath >>> posixpath.join('/noo', '/woo') '/woo'
msg28332 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2006-04-28 16:37
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)
History
Date User Action Args
2022-04-11 14:56:17 admin set github: 43265
2006-04-23 13:08:23 tebeka create