[Python-checkins] CVS: python/dist/src/Include object.h,2.79.2.18,2.79.2.19
Guido van Rossum
gvanrossum@users.sourceforge.net
Thu, 28 Jun 2001 09:49:13 -0700
Update of /cvsroot/python/python/dist/src/Include
In directory usw-pr-cvs1:/tmp/cvs-serv14700
Modified Files:
Tag: descr-branch
object.h
Log Message:
Define a new flag: Py_TPFLAGS_DYNAMICTYPE, to indicate that a type
should be considered dynamic, i.e. its __dict__ can be modified at
run-time.
Index: object.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/object.h,v
retrieving revision 2.79.2.18
retrieving revision 2.79.2.19
diff -C2 -r2.79.2.18 -r2.79.2.19
*** object.h 2001/06/26 20:16:57 2.79.2.18
--- object.h 2001/06/28 16:49:11 2.79.2.19
***************
*** 405,408 ****
--- 405,411 ----
#define Py_TPFLAGS_BASETYPE (1L<<10)
+ /* Set if the type's __dict__ may change */
+ #define Py_TPFLAGS_DYNAMICTYPE (1L<<11)
+
#define Py_TPFLAGS_DEFAULT ( \
Py_TPFLAGS_HAVE_GETCHARBUFFER | \