Mercurial > cpython-lru_cache-weakref
diff Include/code.h @ 36654:6b42920accc9 legacy-trunk
Per discussion on python-dev, remove CO_GENERATOR_ALLOWED. Leave comment about not removing yet.
| author | Neal Norwitz <nnorwitz@gmail.com> |
|---|---|
| date | Sat, 25 Feb 2006 15:43:10 +0000 |
| parents | 9c0fd586475c |
| children | 5c36c222e7ca |
line wrap: on
line diff
--- a/Include/code.h Sat Feb 25 14:53:26 2006 +0000 +++ b/Include/code.h Sat Feb 25 15:43:10 2006 +0000 @@ -40,7 +40,10 @@ */ #define CO_NOFREE 0x0040 -#define CO_GENERATOR_ALLOWED 0x1000 /* no longer used in an essential way */ +#if 0 +/* This is no longer used. Stopped defining in 2.5, do not re-use. */ +#define CO_GENERATOR_ALLOWED 0x1000 +#endif #define CO_FUTURE_DIVISION 0x2000 #define CO_MAXBLOCKS 20 /* Max static block nesting within a function */
