File tree 1 file changed +0
-19
lines changed
1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change 37
37
38
38
#include "opcode_metadata.h" // _PyOpcode_opcode_metadata, _PyOpcode_num_popped/pushed
39
39
40
- #define DEFAULT_CODE_SIZE 128
41
- #define DEFAULT_LNOTAB_SIZE 16
42
- #define DEFAULT_CNOTAB_SIZE 32
43
-
44
40
#define COMP_GENEXP 0
45
41
#define COMP_LISTCOMP 1
46
42
#define COMP_SETCOMP 2
65
61
return ERROR; \
66
62
}
67
63
68
- /* If we exceed this limit, it should
69
- * be considered a compiler bug.
70
- * Currently it should be impossible
71
- * to exceed STACK_USE_GUIDELINE * 100,
72
- * as 100 is the maximum parse depth.
73
- * For performance reasons we will
74
- * want to reduce this to a
75
- * few hundred in the future.
76
- *
77
- * NOTE: Whatever MAX_ALLOWED_STACK_USE is
78
- * set to, it should never restrict what Python
79
- * we can write, just how we compile it.
80
- */
81
- #define MAX_ALLOWED_STACK_USE (STACK_USE_GUIDELINE * 100)
82
-
83
64
#define IS_TOP_LEVEL_AWAIT (C ) ( \
84
65
((C)->c_flags.cf_flags & PyCF_ALLOW_TOP_LEVEL_AWAIT) \
85
66
&& ((C)->u->u_ste->ste_type == ModuleBlock))
You can’t perform that action at this time.
0 commit comments