Antoine Pitrou <pit...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue13645>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to