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 vstinner
Recipients matrixise, mdk, paul.moore, steve.dower, tim.golden, vstinner, zach.ware
Date 2019-02-19.16:23:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1550593392.23.0.0743168399033.issue36021@roundup.psfhosted.org>
In-reply-to
Content
> 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.
History
Date User Action Args
2019-02-19 16:23:12vstinnersetrecipients: + vstinner, paul.moore, tim.golden, zach.ware, steve.dower, matrixise, mdk
2019-02-19 16:23:12vstinnersetmessageid: <1550593392.23.0.0743168399033.issue36021@roundup.psfhosted.org>
2019-02-19 16:23:12vstinnerlinkissue36021 messages
2019-02-19 16:23:12vstinnercreate