From 4f82bc31838531cb68b5ea175be0dd4584638bcf Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Thu, 17 May 2007 06:23:50 +0000 Subject: [PATCH] Set the depth to something very small to try to determine if the crashes on Windows are really due to the stack size or possibly some other problem. --- Python/marshal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python/marshal.c b/Python/marshal.c index 60eeaaaa3c0..c3d47607ad1 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 4000 +#define MAX_MARSHAL_STACK_DEPTH 1000 #define TYPE_NULL '0' #define TYPE_NONE 'N'