Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df95cb6 commit ab51f5fCopy full SHA for ab51f5f
2 files changed
Include/code.h
@@ -40,7 +40,10 @@ typedef struct {
40
*/
41
#define CO_NOFREE 0x0040
42
43
-#define CO_GENERATOR_ALLOWED 0x1000 /* no longer used in an essential way */
+#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
47
#define CO_FUTURE_DIVISION 0x2000
48
49
#define CO_MAXBLOCKS 20 /* Max static block nesting within a function */
Include/pythonrun.h
@@ -8,7 +8,7 @@ extern "C" {
8
#endif
9
10
#define PyCF_MASK (CO_FUTURE_DIVISION)
11
-#define PyCF_MASK_OBSOLETE (CO_GENERATOR_ALLOWED | CO_NESTED)
+#define PyCF_MASK_OBSOLETE (CO_NESTED)
12
#define PyCF_SOURCE_IS_UTF8 0x0100
13
#define PyCF_DONT_IMPLY_DEDENT 0x0200
14
0 commit comments