[New-bugs-announce] [issue33890] Pathlib does not compare Windows and MinGW paths as equal

Patrick Lehmann report at bugs.python.org
Sun Jun 17 18:20:32 EDT 2018


New submission from Patrick Lehmann <Patrick.Lehmann at tu-dresden.de>:

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

----------
components: Windows
messages: 319832
nosy: Patrick Lehmann, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: Pathlib does not compare Windows and MinGW paths as equal
type: behavior
versions: Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33890>
_______________________________________


More information about the New-bugs-announce mailing list