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 steve.dower
Recipients eric.smith, eryksun, mesheb82, paul.moore, serhiy.storchaka, steve.dower, tim.golden, zach.ware
Date 2017-07-13.19:04:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1499972646.55.0.283090117936.issue30906@psf.upfronthosting.co.za>
In-reply-to
Content
There's absolutely no risk of ignoring later parameters or raising a ValueError here, so please don't let those cloud the discussion.

The behaviour of Python 3.6 seems to be correct for every case except:
    >>> os.path.join("C:\\dir1", "D:dir2")
    D:dir2
    (expected D:\dir1\dir2)

However, that's an incredible edge case that virtually nobody relies on and I'm sure nobody expects.

The other combinations of relative and absolute paths seem to be correct. I'm not convinced that changing the behaviour of Python 2.7 significantly improves either the maintainability or security of that release, so unless someone wants to argue about that I'm closing this as not a bug. (And if someone *does* want to argue about it, don't bother arguing with me :) )
History
Date User Action Args
2017-07-13 19:04:06steve.dowersetrecipients: + steve.dower, paul.moore, eric.smith, tim.golden, zach.ware, serhiy.storchaka, mesheb82, eryksun
2017-07-13 19:04:06steve.dowersetmessageid: <1499972646.55.0.283090117936.issue30906@psf.upfronthosting.co.za>
2017-07-13 19:04:06steve.dowerlinkissue30906 messages
2017-07-13 19:04:06steve.dowercreate