[issue12082] Python/import.c still references fstat even with DONT_HAVE_FSTAT/!HAVE_FSTAT
STINNER Victor
report at bugs.python.org
Mon May 30 17:38:43 CEST 2011
STINNER Victor <victor.stinner at haypocalc.com> added the comment:
> Should the .pyc/.pyo file writing be disabled altogether
> if stat() and/or fstat() is not available.
If we cannot get the file modification time, .pyc/.pyo writing must be disabled. If your OS/libc/filesystem doesn't have fstat(), you don't have file modification, so no .pyc/.pyo write.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12082>
_______________________________________
More information about the Python-bugs-list
mailing list