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 pitrou
Recipients adrien.pierre.horgnies@gmail.com, pitrou
Date 2019-07-02.15:01:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1562079717.59.0.23397954812.issue37486@roundup.psfhosted.org>
In-reply-to
Content
This is by design.  The "parent" attribute is a *lexical operation*.  If you want to walk the actual filesystem, first call resolve().

It's even documented:
https://docs.python.org/3/library/pathlib.html#pathlib.PurePath.parent
History
Date User Action Args
2019-07-02 15:01:57pitrousetrecipients: + pitrou, adrien.pierre.horgnies@gmail.com
2019-07-02 15:01:57pitrousetmessageid: <1562079717.59.0.23397954812.issue37486@roundup.psfhosted.org>
2019-07-02 15:01:57pitroulinkissue37486 messages
2019-07-02 15:01:57pitroucreate