Python bytecode compatibility between interpreter versions

Ronald Oussoren oussoren at cistron.nl
Mon Mar 22 10:32:40 CET 2004


>> In practice though, there is really just one implementation of Python
>> (with the standard libraries... excluding Jython)

That's *two* implementations of Python: CPython and Jython, one of 
which uses pyc files. You're conveniently ignoring the primary example 
of a Python interpreter that does not use pyc files.

>>  which works using the
>> same bytecode mechanism on _all_ platforms, so as far as I can tell,
>> it would be quite feasible to distribute applications in .pyc form.

Yes it is feasible to distribute apps in .pyc form, as long as you 
target a specific version of Python.

Ronald





More information about the Python-list mailing list