From: Neal Norwitz Date: Fri, 18 May 2007 05:12:22 +0000 (+0000) Subject: Drop the max stack depth to something that works in 2.6 X-Git-Tag: v2.5.2c1~293 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ce15dce42137026c7b220c63edefd4309702d834;p=python Drop the max stack depth to something that works in 2.6 --- diff --git a/Python/marshal.c b/Python/marshal.c index 8faea4726d..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 5000 +#define MAX_MARSHAL_STACK_DEPTH 2000 #define TYPE_NULL '0' #define TYPE_NONE 'N'