New submission from Austin Scola <[email protected]>:
I think it would be more useful for the pathlib.Path.__eq__ method to test the
normalized path (not sure if normalized is the right terminology here).
As a concrete example I think that `PosixPath('/foo')` should equal
`PosixPath('/foo/../foo')`. This is because functionally the two paths are
equivalent.
----------
components: Library (Lib)
messages: 382015
nosy: ascola
priority: normal
severity: normal
status: open
title: pathlib.Path.__eq__ should test normalized path
type: behavior
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue42493>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com