Dave Angel wrote:
Terry Reedy wrote:
If you mean dis.dis() that only gives you byte code.
No, dis is a disassembler and it gives readable assembly code, not the raw numerical bytes. Its purpose is to make byte code + other parts of the code object humanly readable.
As far as I know, there is no assembler that would turn the exact output of dis back to its input.
tjr -- http://mail.python.org/mailman/listinfo/python-list