compatbility of .pyc files

2005-02-22 Thread Blair Hall
I have a requirement to prevent 'accidental' tampering with some software written in Python. If I ensure that all of the modules concerned are compiled into .pyc's, and remove the .py's to another location, then I should be safe until the next upgrade of the Python interpretter. My questions: Are

Re: compatbility of .pyc files

2005-02-22 Thread Martin v. Löwis
Blair Hall wrote: Are the .pyc's usable without recompilation between 'minor' releases of the interpretter (e.g., 2.3.1 - 2.3.2 - etc)? Yes. I presume that the .pyc's are NOT compatible across more major releases (e.g., 2.3.x - 2.4.x)? Correct. Is there a hard and fast rule about compatibility

Re: compatbility of .pyc files

2005-02-22 Thread Jeremy Bowers
On Wed, 23 Feb 2005 13:31:12 +1300, Blair Hall wrote: I have a requirement to prevent 'accidental' tampering with some software written in Python. If I ensure that all of the modules concerned are compiled into .pyc's, and remove the .py's to another location, then I should be safe until the