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 lordmauve
Recipients lordmauve
Date 2018-07-17.10:59:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1531825181.93.0.56676864532.issue34137@psf.upfronthosting.co.za>
In-reply-to
Content
When using pathlib to manipulate paths that may be symlinks or regular files, a pattern that comes up frequently is this expression:

path.is_symlink() or path.exists()

os.path.lexists(path) can be used for this, but when using pathlib going back to os.path for this seems like defeat.
History
Date User Action Args
2018-07-17 10:59:41lordmauvesetrecipients: + lordmauve
2018-07-17 10:59:41lordmauvesetmessageid: <1531825181.93.0.56676864532.issue34137@psf.upfronthosting.co.za>
2018-07-17 10:59:41lordmauvelinkissue34137 messages
2018-07-17 10:59:41lordmauvecreate