New submission from ThatXliner <bryan.hu.2...@gmail.com>:
Add an attribute to pathlib.Path testing if a file/directory/symlink is executable or the user has executable permissions. I've been trying to find a pythonic way for this (preferably in pathlib.Path) but all I found was trips to the shell and back. This issue proposes adding an attribute (which I haven't figured the name most would like but it would be somewhere near .can_execute or .is_exe) ---------- components: Library (Lib) messages: 382034 nosy: ThatXliner priority: normal severity: normal status: open title: New pathlib.Path attribute versions: Python 3.10, Python 3.9 _______________________________________ 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