Mercurial > cpython-lru_cache-weakref
comparison Include/code.h @ 36726:bbf16fd024df legacy-trunk
from __future__ import with_statement addon for 'with', mostly written by
Neal.
| author | Thomas Wouters <thomas@python.org> |
|---|---|
| date | Tue, 28 Feb 2006 19:02:24 +0000 |
| parents | 5c36c222e7ca |
| children | cea54c9d921d 49c6eb688906 |
comparison
equal
deleted
inserted
replaced
| 36725:99066bea17f8 | 36726:bbf16fd024df |
|---|---|
| 44 /* This is no longer used. Stopped defining in 2.5, do not re-use. */ | 44 /* This is no longer used. Stopped defining in 2.5, do not re-use. */ |
| 45 #define CO_GENERATOR_ALLOWED 0x1000 | 45 #define CO_GENERATOR_ALLOWED 0x1000 |
| 46 #endif | 46 #endif |
| 47 #define CO_FUTURE_DIVISION 0x2000 | 47 #define CO_FUTURE_DIVISION 0x2000 |
| 48 #define CO_FUTURE_ABSIMPORT 0x4000 /* absolute import by default */ | 48 #define CO_FUTURE_ABSIMPORT 0x4000 /* absolute import by default */ |
| 49 #define CO_FUTURE_WITH_STATEMENT 0x8000 | |
| 50 | |
| 51 /* This should be defined if a future statement modifies the syntax. | |
| 52 For example, when a keyword is added. | |
| 53 */ | |
| 54 #define PY_PARSER_REQUIRES_FUTURE_KEYWORD | |
| 49 | 55 |
| 50 #define CO_MAXBLOCKS 20 /* Max static block nesting within a function */ | 56 #define CO_MAXBLOCKS 20 /* Max static block nesting within a function */ |
| 51 | 57 |
| 52 PyAPI_DATA(PyTypeObject) PyCode_Type; | 58 PyAPI_DATA(PyTypeObject) PyCode_Type; |
| 53 | 59 |
