[Python-ideas] PEP 428 - object-oriented filesystem paths
ronaldoussoren at mac.com
Mon Oct 8 12:00:22 CEST 2012
On 7 Oct, 2012, at 23:43, Arnaud Delobelle <arnodel at gmail.com> wrote:
> 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')
>>>>> PurePosixPath('a/b') == PurePosixPath('a\\b')
> Naive question: how do you deal with HFS+, which is case-preserving
> but on most machines case-insensitive?
Or CIFS filesystems mounted on a Linux? Case-sensitivity is a file-system property, not a operating system one.
More information about the Python-ideas