diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2007-05-17 07:04:46 +0000 |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2007-05-17 07:04:46 +0000 |
commit | f6b0e4dca830601be49bf619f6d562fdb7db9e26 (patch) | |
tree | e7fb52499fdc4cd835b84ea1933b67b8b786b009 /Python/marshal.c | |
parent | 4f82bc31838531cb68b5ea175be0dd4584638bcf (diff) | |
download | cpython-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.c | 2 |
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' |