Set the recursion limit to 1000 -- 2500 was not enough, let's be

conservative.
This commit is contained in:
Guido van Rossum 2000-09-01 01:52:08 +00:00
parent 1ac9802748
commit 349ff6f7e2

View File

@ -300,7 +300,7 @@ Py_MakePendingCalls(void)
/* The interpreter's recursion limit */ /* The interpreter's recursion limit */
static int recursion_limit = 2500; static int recursion_limit = 1000;
int Py_GetRecursionLimit() int Py_GetRecursionLimit()
{ {