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 benrg, paul.moore, pitrou, steve.dower, tim.golden, zach.ware
Date 2018-01-23.08:30:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1516696253.84.0.467229070634.issue32612@psf.upfronthosting.co.za>
In-reply-to
Content
Just tested something that I'd assumed and it turned out I was wrong:

>>> p1 = PureWindowsPath(r"C:\a\b\..\c")
>>> p2 = PureWindowsPath(r"C:\a\c")
>>> p1 == p2
False
>>> p1, p2
(PureWindowsPath('C:/a/b/../c'), PureWindowsPath('C:/a/c'))

So PureWindowsPath already doesn't collapse '..' elements (as they could change meaning in the presence of symlinks), so that's a point against the "what if everyone started doing str(p1).lower() == str(p2).lower() instead" argument.
History
Date User Action Args
2018-01-23 08:30:53steve.dowersetrecipients: + steve.dower, paul.moore, pitrou, tim.golden, benrg, zach.ware
2018-01-23 08:30:53steve.dowersetmessageid: <1516696253.84.0.467229070634.issue32612@psf.upfronthosting.co.za>
2018-01-23 08:30:53steve.dowerlinkissue32612 messages
2018-01-23 08:30:53steve.dowercreate