]> granicus.if.org Git - python/commit
compileall used the ctime of bytecode and source to determine if the bytecode
authorBrett Cannon <bcannon@gmail.com>
Tue, 10 Feb 2009 02:07:38 +0000 (02:07 +0000)
committerBrett Cannon <bcannon@gmail.com>
Tue, 10 Feb 2009 02:07:38 +0000 (02:07 +0000)
commit28d108893c5a6663c1747b1c79d0432ba7794e63
tree5d1379f9d117b038507be68206d60e541898e718
parent322daea7c3ba7fa73b09ebd50a78078d23d318a5
compileall used the ctime of bytecode and source to determine if the bytecode
should be recreated. This created a timing hole. Fixed by just doing what
import does; check the mtime and magic number.
Lib/compileall.py
Lib/test/test_compileall.py [new file with mode: 0644]
Misc/ACKS
Misc/NEWS