diff Include/pythonrun.h @ 55059:26255f29a7e4

the old CO_FUTURE flags can't be commented out
author Benjamin Peterson <benjamin@python.org>
date Thu, 02 Jul 2009 21:44:01 +0000
parents 0530aadff696
children cc6b91c3d719
line wrap: on
line diff
--- a/Include/pythonrun.h	Thu Jul 02 18:25:26 2009 +0000
+++ b/Include/pythonrun.h	Thu Jul 02 21:44:01 2009 +0000
@@ -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