mirror of
https://github.com/python/cpython.git
synced 2026-05-06 12:49:07 -04:00
GH-107263: Increase C stack limit for most functions, except _PyEval_EvalFrameDefault() (GH-107535)
* Set C recursion limit to 1500, set cost of eval loop to 2 frames, and compiler mutliply to 2.
This commit is contained in:
+1
-1
@@ -1029,7 +1029,7 @@ validate_type_params(struct validator *state, asdl_type_param_seq *tps)
|
||||
|
||||
|
||||
/* See comments in symtable.c. */
|
||||
#define COMPILER_STACK_FRAME_SCALE 3
|
||||
#define COMPILER_STACK_FRAME_SCALE 2
|
||||
|
||||
int
|
||||
_PyAST_Validate(mod_ty mod)
|
||||
|
||||
Reference in New Issue
Block a user