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