New submission from Austin Scola <austinsc...@gmail.com>:
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 <rep...@bugs.python.org> <https://bugs.python.org/issue42493> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com