[Python-checkins] CVS: python/dist/src/Objects typeobject.c,2.62,2.63

Tim Peters tim_one@users.sourceforge.net
Mon, 17 Sep 2001 17:23:35 -0700


Update of /cvsroot/python/python/dist/src/Objects
In directory usw-pr-cvs1:/tmp/cvs-serv22811/python/objects

Modified Files:
	typeobject.c 
Log Message:
type_new():  Didn't compile anymore, due to change in struct memberlist
definition.  Guido, what else did you forget to check in <wink>?


Index: typeobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/typeobject.c,v
retrieving revision 2.62
retrieving revision 2.63
diff -C2 -d -r2.62 -r2.63
*** typeobject.c	2001/09/14 19:43:36	2.62
--- typeobject.c	2001/09/18 00:23:33	2.63
***************
*** 927,931 ****
  			mp->type = T_OBJECT;
  			mp->offset = slotoffset;
! 			mp->readonly = 1;
  			mp++;
  			slotoffset += sizeof(PyObject *);
--- 927,931 ----
  			mp->type = T_OBJECT;
  			mp->offset = slotoffset;
! 			mp->flags = READONLY;
  			mp++;
  			slotoffset += sizeof(PyObject *);