[Python-talk] using old .pyc files

Python python at venix.com
Fri Aug 25 09:05:39 EDT 2006


At the close of the meeting, the question was raised about using old
compiled python modules with a newer version of Python.

Using an old compiled python module with a newer version of Python does
not work.  The Python interpreter checks a "magic number" looking for a
version match.  I suspect the main issue would be the compiled libraries
that get used in the background.  I tested using a 2.3.3 pyc against the
2.4.3 interpreter.  You should be OK with minor upgrades (e.g.2.3.3 to
2.3.4).

-- 
Lloyd Kvam
Venix Corp



More information about the Python-talk mailing list