Mercurial > cpython-lru_cache-weakref
diff Include/pythonrun.h @ 36988:49c6eb688906
Checkpoint. 218 tests are okay; 53 are failing. Done so far:
- all classes are new-style (but ripping out classobject.[ch] isn't done)
- int/int -> float
- all exceptions must derive from BaseException
- absolute import
- 'as' and 'with' are keywords
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Wed, 15 Mar 2006 04:58:47 +0000 |
| parents | d6c30ce3868b |
| children | 61fee1853ca8 |
line wrap: on
line diff
--- a/Include/pythonrun.h Tue Mar 14 22:22:15 2006 +0000 +++ b/Include/pythonrun.h Wed Mar 15 04:58:47 2006 +0000 @@ -7,9 +7,8 @@ extern "C" { #endif -#define PyCF_MASK (CO_FUTURE_DIVISION | CO_FUTURE_ABSIMPORT | \ - CO_FUTURE_WITH_STATEMENT) -#define PyCF_MASK_OBSOLETE (CO_NESTED) +#define PyCF_MASK 0 +#define PyCF_MASK_OBSOLETE 0 #define PyCF_SOURCE_IS_UTF8 0x0100 #define PyCF_DONT_IMPLY_DEDENT 0x0200 #define PyCF_ONLY_AST 0x0400
