[issue13645] import machinery vulnerable to timestamp collisions
Antoine Pitrou
report at bugs.python.org
Tue Jan 10 00:05:07 CET 2012
Antoine Pitrou <pitrou at free.fr> added the comment:
> I'm not suggesting two stat calls (in the general case); you would
> call one or the other depending on the magic number of the pyc file.
The proposal is to store both mtime and size, actually, to make false
positives less likely.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13645>
_______________________________________
More information about the Python-bugs-list
mailing list