From ce15dce42137026c7b220c63edefd4309702d834 Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Fri, 18 May 2007 05:12:22 +0000 Subject: [PATCH] Drop the max stack depth to something that works in 2.6 --- Python/marshal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python/marshal.c b/Python/marshal.c index 8faea4726d8..eac4616cc56 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'