[Python-ideas] Add a cryptographic hash (e.g SHA1) of source toPython Compiled objects?
python at rcn.com
Tue Feb 3 20:44:47 CET 2009
> The only thing you need to compile bytecode is the same Python version
> (and thus the same magic number) and whether it is a .pyc or .pyo (and
> thus if -O/-OO was used). Your platform has nothing to do with
> bytecode compilation.
Well said. The best validation of a pyc is to compile the source.
More information about the Python-ideas