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, kj, raek
Date 2021-11-20.03:59:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1637380776.16.0.830130779315.issue45606@roundup.psfhosted.org>
In-reply-to
Content
The issue is that _PreciseSelector follows the symlink when it checks if a path exists before yielding it as a result.

I've put up a PR with a fix; I've also added a *follow_symlinks* arg to `exists()` method because it seems more logical to be able to test if a path exists via the same method rather than having to also remember and to check for it being a symlink.

I will add docs and news a bit later today or tomorrow.
History
Date User Action Args
2021-11-20 03:59:36andrei.avksetrecipients: + andrei.avk, kj, raek
2021-11-20 03:59:36andrei.avksetmessageid: <1637380776.16.0.830130779315.issue45606@roundup.psfhosted.org>
2021-11-20 03:59:36andrei.avklinkissue45606 messages
2021-11-20 03:59:36andrei.avkcreate