Antoine Pitrou <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> <http://bugs.python.org/issue1117601> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com