comparison Include/pythonrun.h @ 55062:65e41bcbc25d 3.1

Merged revisions 73782-73784 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r73782 | benjamin.peterson | 2009-07-02 16:44:01 -0500 (Thu, 02 Jul 2009) | 1 line the old CO_FUTURE flags can't be commented out ................ r73783 | benjamin.peterson | 2009-07-02 16:54:36 -0500 (Thu, 02 Jul 2009) | 1 line a little more fiddling to make flags like 2.x ................ r73784 | benjamin.peterson | 2009-07-02 16:55:39 -0500 (Thu, 02 Jul 2009) | 9 lines Merged revisions 73781 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r73781 | benjamin.peterson | 2009-07-02 16:38:36 -0500 (Thu, 02 Jul 2009) | 1 line test that compile() accepts the future flag ........ ................
author Benjamin Peterson <benjamin@python.org>
date Thu, 02 Jul 2009 22:02:15 +0000
parents 0530aadff696
children f197407bdba2
comparison
equal deleted inserted replaced
55048:e5c8290c7949 55062:65e41bcbc25d
5 #define Py_PYTHONRUN_H 5 #define Py_PYTHONRUN_H
6 #ifdef __cplusplus 6 #ifdef __cplusplus
7 extern "C" { 7 extern "C" {
8 #endif 8 #endif
9 9
10 #define PyCF_MASK CO_FUTURE_BARRY_AS_BDFL 10 #define PyCF_MASK (CO_FUTURE_DIVISION | CO_FUTURE_ABSOLUTE_IMPORT | \
11 #define PyCF_MASK_OBSOLETE 0 11 CO_FUTURE_WITH_STATEMENT | CO_FUTURE_PRINT_FUNCTION | \
12 CO_FUTURE_UNICODE_LITERALS | CO_FUTURE_BARRY_AS_BDFL)
13 #define PyCF_MASK_OBSOLETE (CO_NESTED)
12 #define PyCF_SOURCE_IS_UTF8 0x0100 14 #define PyCF_SOURCE_IS_UTF8 0x0100
13 #define PyCF_DONT_IMPLY_DEDENT 0x0200 15 #define PyCF_DONT_IMPLY_DEDENT 0x0200
14 #define PyCF_ONLY_AST 0x0400 16 #define PyCF_ONLY_AST 0x0400
15 #define PyCF_IGNORE_COOKIE 0x0800 17 #define PyCF_IGNORE_COOKIE 0x0800
16 18