Message207907
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. |
|
Date |
User |
Action |
Args |
2014-01-11 16:17:45 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, gvanrossum, pitrou, martin.panter, elixir, Bruce.Leban |
2014-01-11 16:17:45 | serhiy.storchaka | set | messageid: <1389457065.26.0.0670385958739.issue19456@psf.upfronthosting.co.za> |
2014-01-11 16:17:45 | serhiy.storchaka | link | issue19456 messages |
2014-01-11 16:17:43 | serhiy.storchaka | create | |
|