[issue13645] import machinery vulnerable to timestamp collisions
Antoine Pitrou
report at bugs.python.org
Thu Dec 29 22:50:09 CET 2011
Antoine Pitrou <pitrou at free.fr> added the comment:
Here is a patch adding the source code size to the pyc header.
The number of places where details of the pyc file format are hard coded is surprisingly high...
Unfortunately, I had to modify importlib's public API (path_mtime -> path_stats). I find it unfortunate that importlib's API is vulnerable to pyc format changes.
----------
keywords: +patch
title: test_import fails after test_coding -> import machinery vulnerable to timestamp collisions
versions: -Python 3.2
Added file: http://bugs.python.org/file24107/impsize.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13645>
_______________________________________
More information about the Python-bugs-list
mailing list