.. _BytecodeAssembler reference manual: http://peak.telecommunity.com/DevCenter/BytecodeAssembler#toc |
.. _BytecodeAssembler reference manual: http://peak.telecommunity.com/DevCenter/BytecodeAssembler#toc |
|
|
|
|
Changes since version 0.6: |
Changes since version 0.6.1: |
|
|
* Experimental Python 3 support, including emulation of restored |
* Experimental Python 3 support, including emulation of restored |
``BINARY_DIVIDE``, ``UNARY_CONVERT``, and ``SLICE_#`` opcodes. |
``BINARY_DIVIDE``, ``UNARY_CONVERT``, and ``SLICE_#`` opcodes. |
|
|
|
Changes since version 0.6: |
|
|
|
* Fix bad stack calculations for BUILD_CLASS opcode |
|
|
Changes since version 0.5.2: |
Changes since version 0.5.2: |
|
|
* Symbolic disassembly with full emulation of backward-compatible |
* Symbolic disassembly with full emulation of backward-compatible |
>>> c.POP_TOP() |
>>> c.POP_TOP() |
>>> c.stack_size |
>>> c.stack_size |
3 |
3 |
|
>>> c.BUILD_CLASS() |
|
>>> c.stack_size |
|
1 |
|
|
|
|
Stack underflow detection/recovery, and global/local variable names:: |
Stack underflow detection/recovery, and global/local variable names:: |
|
|