[issue42497] New pathlib.Path attribute

ThatXliner report at bugs.python.org
Sun Nov 29 13:13:56 EST 2020


ThatXliner <bryan.hu.2020 at gmail.com> added the comment:

Since pathlib.Path has module os synonyms, I think it would be reasonable to test with os.X_OK. Correct me if I'm wrong.

I think most people would want to check if the current user running the script could execute something.

----------
type:  -> enhancement

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42497>
_______________________________________


More information about the Python-bugs-list mailing list