summaryrefslogtreecommitdiff
path: root/Python
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2007-05-18 05:12:22 +0000
committerNeal Norwitz <nnorwitz@gmail.com>2007-05-18 05:12:22 +0000
commitce15dce42137026c7b220c63edefd4309702d834 (patch)
tree4bee7f985c6eddd814a730bc3937c53963be2c8f /Python
parent2cb077a8c1b6436cb2c86178d6eb33fd4e6cd59e (diff)
downloadcpython-git-ce15dce42137026c7b220c63edefd4309702d834.tar.gz
Drop the max stack depth to something that works in 2.6
Diffstat (limited to 'Python')
-rw-r--r--Python/marshal.c2
1 files changed, 1 insertions, 1 deletions
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'