[issue1117601] os.path.exists returns false negatives in MAC environments.
Antoine Pitrou
report at bugs.python.org
Fri Aug 8 11:41:18 CEST 2008
Antoine Pitrou <pitrou at free.fr> added the comment:
The only sane alternative to the current behaviour would be to raise an
Exception from os.path.exists rather than returning False. But it would
also break a lot of code, and complexify code using os.path.exists which
currently doesn't need to check for exceptions. Returning True sounds
completely incorrect on the other hand.
If there is no other straightforward method than stat() to know if a
path exists, I suggest closing this bug as wontfix.
----------
nosy: +pitrou
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1117601>
_______________________________________
More information about the Python-bugs-list
mailing list