ThatXliner <bryan.hu.2...@gmail.com> added the comment:
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) ... ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue42497> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com