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 ThatXliner
Recipients ThatXliner, steven.daprano
Date 2020-11-29.18:18:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1606673900.9.0.373328667308.issue42497@roundup.psfhosted.org>
In-reply-to
Content
Now I think of it, it would be weird to just add attributes testing for executable permissions. Why not add the attributes from os.access to pathlib.Path?

 - Path.can_execute = os.access(path, os.X_OK)
 - Path.can_read    = os.access(path, R_OK) 
...
History
Date User Action Args
2020-11-29 18:18:20ThatXlinersetrecipients: + ThatXliner, steven.daprano
2020-11-29 18:18:20ThatXlinersetmessageid: <1606673900.9.0.373328667308.issue42497@roundup.psfhosted.org>
2020-11-29 18:18:20ThatXlinerlinkissue42497 messages
2020-11-29 18:18:20ThatXlinercreate