[issue5157] os.stat('foo') succeds if 'foo.exe' exists on cygwin
Antoine Calando
report at bugs.python.org
Fri Feb 6 11:21:38 CET 2009
Antoine Calando <acalando at 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 the bug,
and also tired of thinking it seems :)
Regards,
Antoine
----- Martin v. Löwis <report at bugs.python.org> a écrit :
>
> Martin v. Löwis <martin at v.loewis.de> added the comment:
>
> Why do you think this is a bug in Python? It sounds like a bug in Cygwin
> to me?
>
> Python delegates to the C library as-is, with not attempt to
> second-guessing the C library. So if the C library says "file" exists,
> then this is also what Python must tell you.
>
> Closing as third-party bug.
>
> ----------
> nosy: +loewis
> resolution: -> invalid
> status: open -> closed
> versions: +3rd party -Python 2.5
>
> _______________________________________
> Python tracker <report at bugs.python.org>
> <http://bugs.python.org/issue5157>
> _______________________________________
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5157>
_______________________________________
More information about the Python-bugs-list
mailing list