]> granicus.if.org Git - python/commitdiff
After Raymond's remark, I changed the Stackless bits to
authorChristian Tismer <tismer@stackless.com>
Fri, 23 May 2003 12:47:36 +0000 (12:47 +0000)
committerChristian Tismer <tismer@stackless.com>
Fri, 23 May 2003 12:47:36 +0000 (12:47 +0000)
two fixed bits, position 15 and 16. It is right, why should these
be elsewhere.

Include/object.h

index 06e19bec48467a962fba21d83516d046f169ab79..252e99c94d5e8d9fdeb5558e96df7d1996f1df65 100644 (file)
@@ -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