Message298330
BTW, I don't see why one would expect join(r"C:\dir1", "D:dir2") to return r"D:\dir1\dir2" instead of "D:dir2". Python's result is in agreement with Windows PathCchCombineEx. Paths on different drives should not be combined. The first path has to be ignored:
elif p_drive and p_drive != result_drive:
if p_drive.lower() != result_drive.lower():
# Different drives => ignore the first path entirely
result_drive = p_drive
result_path = p_path
continue |
|
Date |
User |
Action |
Args |
2017-07-14 03:27:41 | eryksun | set | recipients:
+ eryksun, paul.moore, eric.smith, tim.golden, zach.ware, serhiy.storchaka, mesheb82, steve.dower |
2017-07-14 03:27:41 | eryksun | set | messageid: <1500002861.63.0.956411070234.issue30906@psf.upfronthosting.co.za> |
2017-07-14 03:27:41 | eryksun | link | issue30906 messages |
2017-07-14 03:27:41 | eryksun | create | |
|