comparison Include/pythonrun.h @ 36726:bbf16fd024df legacy-trunk

from __future__ import with_statement addon for 'with', mostly written by Neal.
author Thomas Wouters <thomas@python.org>
date Tue, 28 Feb 2006 19:02:24 +0000
parents 5c36c222e7ca
children d6c30ce3868b
comparison
equal deleted inserted replaced
36725:99066bea17f8 36726:bbf16fd024df
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_DIVISION | CO_FUTURE_ABSIMPORT) 10 #define PyCF_MASK (CO_FUTURE_DIVISION | CO_FUTURE_ABSIMPORT | \
11 CO_FUTURE_WITH_STATEMENT)
11 #define PyCF_MASK_OBSOLETE (CO_NESTED) 12 #define PyCF_MASK_OBSOLETE (CO_NESTED)
12 #define PyCF_SOURCE_IS_UTF8 0x0100 13 #define PyCF_SOURCE_IS_UTF8 0x0100
13 #define PyCF_DONT_IMPLY_DEDENT 0x0200 14 #define PyCF_DONT_IMPLY_DEDENT 0x0200
14 #define PyCF_ONLY_AST 0x0400 15 #define PyCF_ONLY_AST 0x0400
15 16