File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,10 @@ typedef struct {
4040*/
4141#define CO_NOFREE 0x0040
4242
43- #define CO_GENERATOR_ALLOWED 0x1000 /* no longer used in an essential way */
43+ #if 0
44+ /* This is no longer used. Stopped defining in 2.5, do not re-use. */
45+ #define CO_GENERATOR_ALLOWED 0x1000
46+ #endif
4447#define CO_FUTURE_DIVISION 0x2000
4548
4649#define CO_MAXBLOCKS 20 /* Max static block nesting within a function */
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ extern "C" {
88#endif
99
1010#define PyCF_MASK (CO_FUTURE_DIVISION)
11- #define PyCF_MASK_OBSOLETE (CO_GENERATOR_ALLOWED | CO_NESTED)
11+ #define PyCF_MASK_OBSOLETE (CO_NESTED)
1212#define PyCF_SOURCE_IS_UTF8 0x0100
1313#define PyCF_DONT_IMPLY_DEDENT 0x0200
1414
You can’t perform that action at this time.
0 commit comments