Message416668
| 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 | <1649079635.41.0.513424194205.issue39090@roundup.psfhosted.org> |
| In-reply-to |
| Content | |
|---|---|
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: https://docs.python.org/3.11/library/pathlib.html#pathlib.Path.absolute 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. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-04 13:40:35 | barneygale | set | recipients: + 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:35 | barneygale | set | messageid: <1649079635.41.0.513424194205.issue39090@roundup.psfhosted.org> |
| 2022-04-04 13:40:35 | barneygale | link | issue39090 messages |
| 2022-04-04 13:40:35 | barneygale | create | |