Message298308
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 :) ) |
|
Date |
User |
Action |
Args |
2017-07-13 19:04:06 | steve.dower | set | recipients:
+ steve.dower, paul.moore, eric.smith, tim.golden, zach.ware, serhiy.storchaka, mesheb82, eryksun |
2017-07-13 19:04:06 | steve.dower | set | messageid: <1499972646.55.0.283090117936.issue30906@psf.upfronthosting.co.za> |
2017-07-13 19:04:06 | steve.dower | link | issue30906 messages |
2017-07-13 19:04:06 | steve.dower | create | |
|