summaryrefslogtreecommitdiff
path: root/Include/pythonrun.h
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-07-02 21:44:01 +0000
committerBenjamin Peterson <benjamin@python.org>2009-07-02 21:44:01 +0000
commit4337c6a3c1ac8cdefc098229f2cf4a45ad1356cf (patch)
treeefc928cd2b75c487f45c4b226c40c3b981b794b4 /Include/pythonrun.h
parent97901d57c052fa9a74de911a7637f4da03e07f0e (diff)
downloadcpython-4337c6a3c1ac8cdefc098229f2cf4a45ad1356cf.tar.gz
the old CO_FUTURE flags can't be commented out
Diffstat (limited to 'Include/pythonrun.h')
-rw-r--r--Include/pythonrun.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Include/pythonrun.h b/Include/pythonrun.h
index 86d9fe2250..28e169060c 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