[issue20541] os.path.exists() gives wrong answer for Windows special files
Nick Coghlan
report at bugs.python.org
Fri Feb 7 15:37:58 CET 2014
Nick Coghlan added the comment:
As per issue 1311, the exists returns True <-> stat will work equivalence is deliberate. We'll have to find a different way to resolve issue 20053 on Windows.
Due to the special files on Windows, the only reliable cross-platform way to find out whether or not *open* will work on a given filename is to actually try it.
----------
resolution: -> invalid
stage: test needed -> committed/rejected
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20541>
_______________________________________
More information about the Python-bugs-list
mailing list