diff options
author | Brett Cannon <bcannon@gmail.com> | 2009-02-10 02:10:16 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2009-02-10 02:10:16 (GMT) |
commit | befb14fe2741fb583a059b2b6891c8692c61a5ba (patch) | |
tree | eb920260fc263a81f753d3f25225f82a855924db /Misc | |
parent | 6691772ff6ce5dbad9f088a0aeef3aed149900a3 (diff) | |
download | cpython-befb14fe2741fb583a059b2b6891c8692c61a5ba.zip cpython-befb14fe2741fb583a059b2b6891c8692c61a5ba.tar.gz cpython-befb14fe2741fb583a059b2b6891c8692c61a5ba.tar.bz2 |
Merged revisions 69481 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r69481 | brett.cannon | 2009-02-09 18:07:38 -0800 (Mon, 09 Feb 2009) | 4 lines
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.
........
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/ACKS | 3 | ||||
-rw-r--r-- | Misc/NEWS | 4 |
2 files changed, 6 insertions, 1 deletions
@@ -183,7 +183,7 @@ Virgil Dupras Andy Dustman Gary Duzan Eugene Dvurechenski -Josip Dzolonga +Josip Dzolonga Maxim Dzumanenko Walter Dörwald Hans Eckardt @@ -234,6 +234,7 @@ Geoff Furnish Ulisses Furquim Hagen Fürstenau Achim Gaedke +Martin von Gagern Lele Gaifax Santiago Gala Yitzchak Gale @@ -163,6 +163,10 @@ Core and Builtins Library ------- +- Issue #5128: Make compileall properly inspect bytecode to determine if needs + to be recreated. This avoids a timing hole thanks to the old reliance on the + ctime of the files involved. + - Issue #5122: Synchronize tk load failure check to prevent a potential deadlock. |