[Python-checkins] CVS: python/dist/src/Lib dis.py,1.26,1.27
Thomas Wouters
python-dev@python.org
Thu, 24 Aug 2000 15:44:56 -0700
Update of /cvsroot/python/python/dist/src/Lib
In directory slayer.i.sourceforge.net:/tmp/cvs-serv29413/Lib
Modified Files:
dis.py
Log Message:
Add missing opcodes. Thanx to jeremy for reminding me ;)
Index: dis.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/dis.py,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -r1.26 -r1.27
*** dis.py 2000/08/24 20:14:09 1.26
--- dis.py 2000/08/24 22:44:53 1.27
***************
*** 151,154 ****
--- 151,155 ----
def_op('ROT_THREE', 3)
def_op('DUP_TOP', 4)
+ def_op('ROT_FOUR', 5)
def_op('UNARY_POSITIVE', 10)
***************
*** 229,233 ****
name_op('STORE_GLOBAL', 97) # ""
name_op('DELETE_GLOBAL', 98) # ""
!
def_op('LOAD_CONST', 100) # Index in const list
hasconst.append(100)
--- 230,234 ----
name_op('STORE_GLOBAL', 97) # ""
name_op('DELETE_GLOBAL', 98) # ""
! def_op('DUP_TOPX', 99) # number of items to duplicate
def_op('LOAD_CONST', 100) # Index in const list
hasconst.append(100)