quick n' dirty measurement of compression and byte-compilation

Terry Reedy tjreedy at home.com
Tue Jan 1 15:32:31 EST 2002


"Michael Hudson" <mwh at python.net> wrote in message
news:lkofkddg4i.fsf at elios.maths.bris.ac.uk...
> Zooko <zooko at zooko.com> writes:
> > Python seems to have broken forward- and backward-compatibility
for
> > bytecode in almost every release from 1.5 to 2.2.
>
> Yep.  Not sure about 1.6->2.0.  Except saying "broken" implies there
> was ever a hint of compatibility...

To amplify: bytecodes are explicitly not part of the language
definition but are a version-and interpreter-specific caching
optimization.  CPython bytecodes are not Python, and are pretty
useless for someone with the Jython interpreter.

Terry J. Reedy






More information about the Python-list mailing list