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 barneygale
Recipients 4-launchpad-kalvdans-no-ip-org, ChrisBarker, John-Hennig, Zim, barneygale, brett.cannon, docs@python, eryksun, florisla, paul.moore, veky
Date 2022-04-04.13:40:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The docs for PurePath.is_absolute() say:

> A path is considered absolute if it has both a root and (if the flavour allows) a drive

This does not preclude it from having ".." segments.

PurePath.absolute() is documented as of bpo-29688 / 3.11, see:

The documentation for the absolute() method is deliberately placed alongside resolve() for ease of comparison. Both methods make a path absolute, but resolve() also follows symlinks, and consequently is able to safely elide ".." segments.
Date User Action Args
2022-04-04 13:40:35barneygalesetrecipients: + barneygale, brett.cannon, paul.moore, docs@python, eryksun, veky, ChrisBarker, Zim, 4-launchpad-kalvdans-no-ip-org, florisla, John-Hennig
2022-04-04 13:40:35barneygalesetmessageid: <>
2022-04-04 13:40:35barneygalelinkissue39090 messages
2022-04-04 13:40:35barneygalecreate