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 Patrick Lehmann
Recipients Patrick Lehmann, paul.moore, steve.dower, tim.golden, zach.ware
Date 2018-06-17.22:20:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1529274032.96.0.56676864532.issue33890@psf.upfronthosting.co.za>
In-reply-to
Content
pathlib does not compare absolute paths from Windows and MinGW as equal.

Windows absolute path: "C:\path\to\tool"
MinGW absolute path: "/c/path/to/tool"
Cygwin absolute path: "/cygdrive/c/path/to/tool"

I consider this a bug, because it's the same bug but 3 different writings and pathlib is not able to identify the equality.


Environment:
Windows 10
Latest MinGW identified in Python 3.6.2 as MINGW64_NT-10.0


Question on Stack Overflow: https://stackoverflow.com/questions/50900779/how-to-compare-absolute-windows-and-mingw-paths-with-pathlib
History
Date User Action Args
2018-06-17 22:20:33Patrick Lehmannsetrecipients: + Patrick Lehmann, paul.moore, tim.golden, zach.ware, steve.dower
2018-06-17 22:20:32Patrick Lehmannsetmessageid: <1529274032.96.0.56676864532.issue33890@psf.upfronthosting.co.za>
2018-06-17 22:20:32Patrick Lehmannlinkissue33890 messages
2018-06-17 22:20:32Patrick Lehmanncreate