Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 349ff6f

Browse files
committed
Set the recursion limit to 1000 -- 2500 was not enough, let's be
conservative.
1 parent 1ac9802 commit 349ff6f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Python/ceval.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ Py_MakePendingCalls(void)
300300

301301
/* The interpreter's recursion limit */
302302

303-
static int recursion_limit = 2500;
303+
static int recursion_limit = 1000;
304304

305305
int Py_GetRecursionLimit()
306306
{

0 commit comments

Comments
 (0)