[Python-checkins] CVS: python/dist/src/Include opcode.h,2.25,2.26

Thomas Wouters python-dev@python.org
Fri, 11 Aug 2000 15:15:55 -0700


Update of /cvsroot/python/python/dist/src/Include
In directory slayer.i.sourceforge.net:/tmp/cvs-serv14852/Include

Modified Files:
	opcode.h 
Log Message:

Merge UNPACK_LIST and UNPACK_TUPLE into a single UNPACK_SEQUENCE, since they
did the same anyway.

I'm not sure what to do with Tools/compiler/compiler/* -- that isn't part of
distutils, is it ? Should it try to be compatible with old bytecode version ?



Index: opcode.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/opcode.h,v
retrieving revision 2.25
retrieving revision 2.26
diff -C2 -r2.25 -r2.26
*** opcode.h	2000/06/30 23:58:04	2.25
--- opcode.h	2000/08/11 22:15:52	2.26
***************
*** 77,82 ****
  #define STORE_NAME	90	/* Index in name list */
  #define DELETE_NAME	91	/* "" */
! #define UNPACK_TUPLE	92	/* Number of tuple items */
! #define UNPACK_LIST	93	/* Number of list items */
  #define STORE_ATTR	95	/* Index in name list */
  #define DELETE_ATTR	96	/* "" */
--- 77,82 ----
  #define STORE_NAME	90	/* Index in name list */
  #define DELETE_NAME	91	/* "" */
! #define UNPACK_SEQUENCE	92	/* Number of sequence items */
! 
  #define STORE_ATTR	95	/* Index in name list */
  #define DELETE_ATTR	96	/* "" */