This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author adrien.pierre.horgnies@gmail.com
Recipients adrien.pierre.horgnies@gmail.com
Date 2019-07-02.14:35:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1562078148.03.0.333359330818.issue37486@roundup.psfhosted.org>
In-reply-to
Content
Tested with CPython 3.7.3

```
from pathlib import Path

p = Path('.')

assert p == p.parent # should fail but it does not
```

I expect Path('.').parent to be Path('..')

I searched issues and did not find any similar issue but maybe I didn't search well enough because I would be surprised that I'd be the first one to be bugged by this issue.

I didn't test newer version of Python as I couldn't find a package or wasn't comfortable enough to build it myself.
History
Date User Action Args
2019-07-02 14:35:48adrien.pierre.horgnies@gmail.comsetrecipients: + adrien.pierre.horgnies@gmail.com
2019-07-02 14:35:48adrien.pierre.horgnies@gmail.comsetmessageid: <1562078148.03.0.333359330818.issue37486@roundup.psfhosted.org>
2019-07-02 14:35:47adrien.pierre.horgnies@gmail.comlinkissue37486 messages
2019-07-02 14:35:47adrien.pierre.horgnies@gmail.comcreate