PackageDescription | old version of the Python byte-code decompiler
Decompyle converts Python byte-code back into equivalent Python source.
.
This is an old version of decompyle which runs under Python 2.2 and only
accepts byte-code from Python 1.5 to 2.2 inclusive. It cannot handle
byte-code from Python 2.3 or above; for this, see the newer "decompyle"
package instead.
.
Whilst the latest decompyle has significant enhancements, it is possible
that it may fail on some older bytecode where decompyle 2.2 was successful.
For this reason, the older decompyle 2.2 remains available in this package.
.
The old decompyle2.2 and new decompyle packages may be installed
together without problems.
.
The source generated by decompyle is very readable: docstrings, lists,
tuples and hashes get pretty-printed.
.
Decompyle can also verify the equivalence of the generated source by
compiling it and comparing the new byte-code with the original byte-code. |