Petri Lehtinen <pe...@digip.org> added the comment: STINNER Victor wrote: > 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.
Should I go on and write a patch? Any hints on how this code path (of not writing .pyc/.pyo because of missing stat() and fstat()) could be tested? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12082> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com