mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
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.
This commit is contained in:
parent
8bb1ae9c34
commit
661a9e3e5b
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue