From: Neal Norwitz Date: Thu, 17 May 2007 07:04:46 +0000 (+0000) Subject: Last try for tweaking the max stack depth. 5000 was the original value, X-Git-Tag: v2.6a1~1733 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f6b0e4dca830601be49bf619f6d562fdb7db9e26;p=python Last try for tweaking the max stack depth. 5000 was the original value, 4000 didn't work either. 1000 does work on Windows. If 2000 works, that will hopefully be a reasonable balance. --- diff --git a/Python/marshal.c b/Python/marshal.c index c3d47607ad..eac4616cc5 100644 --- a/Python/marshal.c +++ b/Python/marshal.c @@ -15,7 +15,7 @@ * and risks coring the interpreter. When the object stack gets this deep, * raise an exception instead of continuing. */ -#define MAX_MARSHAL_STACK_DEPTH 1000 +#define MAX_MARSHAL_STACK_DEPTH 2000 #define TYPE_NULL '0' #define TYPE_NONE 'N'