From: Christian Tismer Date: Fri, 23 May 2003 12:47:36 +0000 (+0000) Subject: After Raymond's remark, I changed the Stackless bits to X-Git-Tag: v2.3c1~629 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=661a9e3e5b79e03f912038bd56d8638f9ba5a804;p=thirdparty%2FPython%2Fcpython.git After Raymond's remark, I changed the Stackless bits to two fixed bits, position 15 and 16. It is right, why should these be elsewhere. --- diff --git a/Include/object.h b/Include/object.h index 06e19bec4846..252e99c94d5e 100644 --- a/Include/object.h +++ b/Include/object.h @@ -488,9 +488,9 @@ given type object has a specified feature. /* Objects support garbage collection (see objimp.h) */ #define Py_TPFLAGS_HAVE_GC (1L<<14) -/* These last two bits are preserved for Stackless Python */ +/* These two bits are preserved for Stackless Python, next after this is 16 */ #ifdef STACKLESS -#define Py_TPFLAGS_HAVE_STACKLESS_EXTENSION (3L<<(sizeof(int)*8-2)) +#define Py_TPFLAGS_HAVE_STACKLESS_EXTENSION (3L<<15) #else #define Py_TPFLAGS_HAVE_STACKLESS_EXTENSION 0 #endif