[issue22719] os.path.isfile & os.path.exists bug in while loop

R. David Murray report at bugs.python.org
Fri Oct 24 19:53:26 CEST 2014


R. David Murray added the comment:

Looking at the code, it looks like it calls the win32 api directly if path->wide is true, which I'm guessing is the case unless you are using bytes paths in windows?  It looks like the critical call, then, is CreateFileA (why A in a _w method I have no idea...so my reading of this code is suspect :)

----------

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


More information about the Python-bugs-list mailing list