[issue22719] os.path.isfile & os.path.exists bug in while loop
Steve Dower
report at bugs.python.org
Fri Oct 24 18:37:55 CEST 2014
Steve Dower added the comment:
I wonder whether the same thing occurs if you're not appending a new extension each time? There could be some optimisation (from the dark old days of 8.3 filename) that compares "baseExcel" and ".bak" separately and assumes that the name is known.
Last I looked at the code for stat() and isfile(), it was going directly to the Win32 API and not via the CRT. Though that may not have been the case in 3.3...
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22719>
_______________________________________
More information about the Python-bugs-list
mailing list