diff options
author | Guido van Rossum <guido@python.org> | 2006-03-15 04:58:47 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2006-03-15 04:58:47 +0000 |
commit | 00afb9f78ca7fc455d01f7601c72585e315c6a92 (patch) | |
tree | 2ec1004441e72aa27340fae645455ef0ac6522c7 /Include/pythonrun.h | |
parent | 80639cba1fbfcb81b2c7a1dc6e61a9312cf67b1a (diff) | |
download | cpython-00afb9f78ca7fc455d01f7601c72585e315c6a92.tar.gz |
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
Diffstat (limited to 'Include/pythonrun.h')
-rw-r--r-- | Include/pythonrun.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Include/pythonrun.h b/Include/pythonrun.h index 1ecb3d71e7..52623ba823 100644 --- a/Include/pythonrun.h +++ b/Include/pythonrun.h @@ -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 |