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 andrei.avk
Recipients andrei.avk, eamanu, eryksun, john.engelke, serhiy.storchaka
Date 2021-07-08.14:30:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1625754601.69.0.717355437691.issue42464@roundup.psfhosted.org>
In-reply-to
Content
Another solution would be to base it on `strict` parameter:

- strict=True, subpath exists => resolve `..`
- strict=True, subpath doesn't exist => throw OSError
- strict=False => never resolve `..`

This would avoid extra `lstat()` calls but would be a much bigger change in terms of behavior.
History
Date User Action Args
2021-07-08 14:30:01andrei.avksetrecipients: + andrei.avk, serhiy.storchaka, eryksun, eamanu, john.engelke
2021-07-08 14:30:01andrei.avksetmessageid: <1625754601.69.0.717355437691.issue42464@roundup.psfhosted.org>
2021-07-08 14:30:01andrei.avklinkissue42464 messages
2021-07-08 14:30:01andrei.avkcreate