[issue11235] Source files with date modifed in 2106 cause OverflowError

Antoine Pitrou report at bugs.python.org
Tue Jan 24 02:35:54 CET 2012


Antoine Pitrou <pitrou at free.fr> added the comment:

Fixing this is much easier than Victor's suggestion, we just have to ignore the higher bits of the timestamp (that is, store it modulo 2**32). This is enough for the purposes of testing the freshness of a pyc file.

And by avoiding modifying the pyc format, we can also ship the fix in bugfix releases.

----------
components: +Interpreter Core -None
nosy: +brett.cannon, pitrou
versions: +Python 2.7, Python 3.2

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


More information about the Python-bugs-list mailing list