This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients Bruce.Leban, elixir, gvanrossum, martin.panter, pitrou, serhiy.storchaka
Date 2014-01-11.16:17:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1389457065.26.0.0670385958739.issue19456@psf.upfronthosting.co.za>
In-reply-to
Content
I just discovered that perhaps ntpath.join should be even more clever. Windows supports current directories for every drive separately, so perhaps ntpath.join('c:/x', 'd:/y', 'c:z') should return 'c:/x\\z', not 'c:/z'.

Could anyone please check it? Create directory x/z on drive c: and directory y on drive d:, then execute following commands:

cd c:/x
cd d:/y
cd c:z

What is resulting current working directory?

Here is a patch which implements this algorithm.
History
Date User Action Args
2014-01-11 16:17:45serhiy.storchakasetrecipients: + serhiy.storchaka, gvanrossum, pitrou, martin.panter, elixir, Bruce.Leban
2014-01-11 16:17:45serhiy.storchakasetmessageid: <1389457065.26.0.0670385958739.issue19456@psf.upfronthosting.co.za>
2014-01-11 16:17:45serhiy.storchakalinkissue19456 messages
2014-01-11 16:17:43serhiy.storchakacreate