[issue5128] compileall: consider ctime

Djoume Salvetti report at bugs.python.org
Sat Oct 20 14:29:27 CEST 2012


Djoume Salvetti added the comment:

This patch introduces a slight change in behaviour.

Now compilation will only happen if there is a difference in the number of seconds in the timestamp of files, before this patch any difference in mtime will trigger a rebuild. This is because the timestamp in the pyc file is an integer number of seconds, while mtime from stat is a float time.

----------
nosy: +djoume

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5128>
_______________________________________


More information about the Python-bugs-list mailing list