File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,9 @@ typedef struct {
4343#define CO_NOFREE 0x0040
4444
4545/* These are no longer used. */
46+ #if 0
4647#define CO_GENERATOR_ALLOWED 0x1000
48+ #endif
4749#define CO_FUTURE_DIVISION 0x2000
4850#define CO_FUTURE_ABSOLUTE_IMPORT 0x4000 /* do absolute imports by default */
4951#define CO_FUTURE_WITH_STATEMENT 0x8000
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ extern "C" {
1010#define PyCF_MASK (CO_FUTURE_DIVISION | CO_FUTURE_ABSOLUTE_IMPORT | \
1111 CO_FUTURE_WITH_STATEMENT | CO_FUTURE_PRINT_FUNCTION | \
1212 CO_FUTURE_UNICODE_LITERALS | CO_FUTURE_BARRY_AS_BDFL)
13- #define PyCF_MASK_OBSOLETE 0
13+ #define PyCF_MASK_OBSOLETE (CO_NESTED)
1414#define PyCF_SOURCE_IS_UTF8 0x0100
1515#define PyCF_DONT_IMPLY_DEDENT 0x0200
1616#define PyCF_ONLY_AST 0x0400
You can’t perform that action at this time.
0 commit comments