diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-07-02 21:44:01 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-07-02 21:44:01 (GMT) |
commit | 466a7822c19d97223cf54549b247ce2c33685825 (patch) | |
tree | d64d6e6640c07c3b18f405b85c43d8faa66ef9b0 /Include/pythonrun.h | |
parent | c963731bb68b844e839518af96d8b986cbbf9da9 (diff) | |
download | cpython-466a7822c19d97223cf54549b247ce2c33685825.zip cpython-466a7822c19d97223cf54549b247ce2c33685825.tar.gz cpython-466a7822c19d97223cf54549b247ce2c33685825.tar.bz2 |
the old CO_FUTURE flags can't be commented out
Diffstat (limited to 'Include/pythonrun.h')
-rw-r--r-- | Include/pythonrun.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Include/pythonrun.h b/Include/pythonrun.h index 86d9fe2..28e1690 100644 --- a/Include/pythonrun.h +++ b/Include/pythonrun.h @@ -7,7 +7,9 @@ extern "C" { #endif -#define PyCF_MASK CO_FUTURE_BARRY_AS_BDFL +#define PyCF_MASK (CO_FUTURE_DIVISION | CO_FUTURE_ABSOLUTE_IMPORT | \ + CO_FUTURE_WITH_STATEMENT | CO_FUTURE_PRINT_FUNCTION | \ + CO_FUTURE_UNICODE_LITERALS | CO_FUTURE_BARRY_AS_BDFL) #define PyCF_MASK_OBSOLETE 0 #define PyCF_SOURCE_IS_UTF8 0x0100 #define PyCF_DONT_IMPLY_DEDENT 0x0200 |