STINNER Victor <vstin...@redhat.com> added the comment:

> 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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue36021>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to