[Python-ideas] PEP 428 - object-oriented filesystem paths

Arnaud Delobelle arnodel at gmail.com
Sun Oct 7 23:43:02 CEST 2012


On 7 October 2012 18:37, Antoine Pitrou <solipsis at pitrou.net> wrote:
> Pure comparison already obeys case-sensitivity rules as well as the
> different path separators:
>
>>>> PureNTPath('a/b') == PureNTPath('A\\B')
> True
>>>> PurePosixPath('a/b') == PurePosixPath('a\\b')
> False

Naive question: how do you deal with HFS+, which is case-preserving
but on most machines case-insensitive?

-- 
Arnaud



More information about the Python-ideas mailing list