[docs] [issue15221] os.path.is*() may return False if path can't be accessed

Nick Coghlan report at bugs.python.org
Fri Jun 29 05:54:52 CEST 2012


Nick Coghlan <ncoghlan at gmail.com> added the comment:

The os.path.exists() docs already cover all the gory details of when it may be false due to limited permissions. The is* docs refer to this by their use of the word "existing", but that's probably too subtle.

I suggest adding an extra sentence to the docs of all affected functions:

"This always returns False if os.path.exists(path) returns False."

----------

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


More information about the docs mailing list