Matt Gerrans wrote:
"Peter Hansen" <[EMAIL PROTECTED]> wrote:
Only pure Python code can run without change on a newer interpreter.
Is the interpreter smart enough to rebuild a pyc (if the corresponding py
file is there of course) file that was built by a previous version?
Yes. The .pyc files contain a magic cookie that is
different in each major version, so 2.4 will recompile
your 2.3 .pyc files. .pyc files are not portable
between versions, generally, excepting maintenance releases.
-Peter
--
http://mail.python.org/mailman/listinfo/python-list