Message335967
> After a small test, os.access() on a text file is True, and it's wrong in my case.
os.access(path, os.X_OK) is specific to Unix. It doesn't make sense on Windows.
os.access() is implemented with GetFileAttributesW() on Windows. The mode argument is more or less ignored. |
|
Date |
User |
Action |
Args |
2019-02-19 16:23:12 | vstinner | set | recipients:
+ vstinner, paul.moore, tim.golden, zach.ware, steve.dower, matrixise, mdk |
2019-02-19 16:23:12 | vstinner | set | messageid: <1550593392.23.0.0743168399033.issue36021@roundup.psfhosted.org> |
2019-02-19 16:23:12 | vstinner | link | issue36021 messages |
2019-02-19 16:23:12 | vstinner | create | |
|