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 eryksun
Recipients eric.smith, eryksun, mesheb82, paul.moore, serhiy.storchaka, steve.dower, tim.golden, zach.ware
Date 2017-07-14.03:27:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1500002861.63.0.956411070234.issue30906@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2017-07-14 03:27:41eryksunsetrecipients: + eryksun, paul.moore, eric.smith, tim.golden, zach.ware, serhiy.storchaka, mesheb82, steve.dower
2017-07-14 03:27:41eryksunsetmessageid: <1500002861.63.0.956411070234.issue30906@psf.upfronthosting.co.za>
2017-07-14 03:27:41eryksunlinkissue30906 messages
2017-07-14 03:27:41eryksuncreate