[issue22107] tempfile module misinterprets access denied error on Windows

Serhiy Storchaka report at bugs.python.org
Sun Feb 15 10:13:25 CET 2015


Serhiy Storchaka added the comment:

And what returns os.access for writable directories and non-existent files?

os.mkdir('dir')
os.access('dir', os.W_OK)          # what returns?
os.access('nonexistent', os.W_OK)  # what returns or raises?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22107>
_______________________________________


More information about the Python-bugs-list mailing list