[Subversion] / BytecodeAssembler / README.txt  

Diff of /BytecodeAssembler/README.txt

Parent Directory | Revision Log

version 2460, Sun Dec 30 20:58:50 2007 UTC version 2473, Sun Jan 6 15:30:01 2008 UTC
Line 14 
Line 14 
 the work needed to transform tree-like structures into linear bytecode  the work needed to transform tree-like structures into linear bytecode
 instructions, and includes the ability to do compile-time constant folding.  instructions, and includes the ability to do compile-time constant folding.
   
   Please see the `BytecodeAssembler reference manual`_ for more details.
   
   .. _BytecodeAssembler reference manual: http://peak.telecommunity.com/DevCenter/BytecodeAssembler#toc
   
 Changes since version 0.2:  Changes since version 0.2:
   
 * Added ``Suite``, ``TryExcept``, and ``TryFinally`` node types  * Added ``Suite``, ``TryExcept``, and ``TryFinally`` node types
Line 84 
Line 88 
 * The ``dis()`` module in Python 2.3 has a bug that makes it show incorrect  * The ``dis()`` module in Python 2.3 has a bug that makes it show incorrect
   line numbers when the difference between two adjacent line numbers is    line numbers when the difference between two adjacent line numbers is
   greater than 255.  This causes two shallow failures in the current test    greater than 255.  This causes two shallow failures in the current test
   suite when it's run under Python 2.3.    suite when it's run under Python 2.3.  (And there are two other expected
     failures under Python 2.3 due to an automatic optimization.)
   
 If you find any other issues, please let me know.  If you find any other issues, please let me know.
   
Line 94 
Line 99 
 Questions and discussion regarding this software should be directed to the  Questions and discussion regarding this software should be directed to the
 `PEAK Mailing List <http://www.eby-sarna.com/mailman/listinfo/peak>`_.  `PEAK Mailing List <http://www.eby-sarna.com/mailman/listinfo/peak>`_.
   
   .. _toc:
 .. contents:: **Table of Contents**  .. contents:: **Table of Contents**
   
   
Line 1569 
Line 1575 
                   7 POP_BLOCK                    7 POP_BLOCK
                   8 JUMP_FORWARD            43 (to 54)                    8 JUMP_FORWARD            43 (to 54)
             >>   11 DUP_TOP              >>   11 DUP_TOP
                  12 LOAD_CONST               2 (<type 'exceptions.KeyError'>)                   12 LOAD_CONST               2 (<...exceptions.KeyError...>)
                  15 COMPARE_OP              10 (exception match)                   15 COMPARE_OP              10 (exception match)
                  18 JUMP_IF_FALSE           10 (to 31)                   18 JUMP_IF_FALSE           10 (to 31)
                  21 POP_TOP                   21 POP_TOP
Line 1580 
Line 1586 
                  28 JUMP_FORWARD            27 (to 58)                   28 JUMP_FORWARD            27 (to 58)
             >>   31 POP_TOP              >>   31 POP_TOP
                  32 DUP_TOP                   32 DUP_TOP
                  33 LOAD_CONST               4 (<type 'exceptions.TypeError'>)                   33 LOAD_CONST               4 (<...exceptions.TypeError...>)
                  36 COMPARE_OP              10 (exception match)                   36 COMPARE_OP              10 (exception match)
                  39 JUMP_IF_FALSE           10 (to 52)                   39 JUMP_IF_FALSE           10 (to 52)
                  42 POP_TOP                   42 POP_TOP
Line 2160 
Line 2166 
                  11 POP_BLOCK                   11 POP_BLOCK
                  12 JUMP_FORWARD            26 (to 41)                   12 JUMP_FORWARD            26 (to 41)
             >>   15 DUP_TOP              >>   15 DUP_TOP
                  16 LOAD_CONST               1 (<type 'exceptions.AttributeError'>)                   16 LOAD_CONST               1 (<...exceptions.AttributeError...>)
                  19 COMPARE_OP              10 (exception match)                   19 COMPARE_OP              10 (exception match)
                  22 JUMP_IF_FALSE           14 (to 39)                   22 JUMP_IF_FALSE           14 (to 39)
                  25 POP_TOP                   25 POP_TOP
Line 2271 
Line 2277 
   
 * YIELD_EXPR should set CO_GENERATOR; stack effects depend on Python version  * YIELD_EXPR should set CO_GENERATOR; stack effects depend on Python version
   
   * Test wide jumps and wide argument generation in general


Generate output suitable for use with a patch program
Legend:
Removed from v.2460  
changed lines
  Added in v.2473

cvs-admin@eby-sarna.com

Powered by ViewCVS 1.0-dev

ViewCVS and CVS Help