[issue5157] os.stat('foo') succeds if 'foo.exe' exists on cygwin

2009-02-06 Thread Antoine Calando
Antoine Calando acala...@free.fr added the comment: Hi Martin, Actually, I just investigated the problem in the libs and did not check the python exe source code. I guess you are right, this looks more like an issue from cygwin. I was a bit irritated by hours of debugging when entering

[issue5157] os.stat('foo') succeds if 'foo.exe' exists on cygwin

2009-02-05 Thread Antoine Calando
New submission from Antoine Calando acala...@free.fr: On cygwin platform, with python cygwin package: Python 2.5.2 (r252:60911, Dec 2 2008, 09:26:14) When doing an os.stat('file') in a directory where no 'file' exists but a 'file.exe' do, the function return a stat object, as if the call