Only Bytecode, No .py Files
harrismh777
harrismh777 at charter.net
Tue Jul 26 21:32:35 EDT 2011
Christian Heimes wrote:
> The first four bytes of a pyc file contain the magic header. It must
> match the magic of the current Python version. The next four bytes
> contain the pyc_mtime. It must match the mtime of the corresponding .py
> files as returned by fstat().st_mtime. If the magic doesn't match or the
> mtime header doesn't match the mtime of the .py file, the pyc is ignored.
... so recompile is required to fix.
More information about the Python-list
mailing list