summaryrefslogtreecommitdiff
path: root/Python/marshal.c
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2007-05-17 07:04:46 +0000
committerNeal Norwitz <nnorwitz@gmail.com>2007-05-17 07:04:46 +0000
commitf6b0e4dca830601be49bf619f6d562fdb7db9e26 (patch)
treee7fb52499fdc4cd835b84ea1933b67b8b786b009 /Python/marshal.c
parent4f82bc31838531cb68b5ea175be0dd4584638bcf (diff)
downloadcpython-git-f6b0e4dca830601be49bf619f6d562fdb7db9e26.tar.gz
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.
Diffstat (limited to 'Python/marshal.c')
-rw-r--r--Python/marshal.c2
1 files changed, 1 insertions, 1 deletions
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'