diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2007-05-17 07:04:46 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2007-05-17 07:04:46 (GMT) |
commit | f6b0e4dca830601be49bf619f6d562fdb7db9e26 (patch) | |
tree | e7fb52499fdc4cd835b84ea1933b67b8b786b009 | |
parent | 4f82bc31838531cb68b5ea175be0dd4584638bcf (diff) | |
download | cpython-f6b0e4dca830601be49bf619f6d562fdb7db9e26.zip cpython-f6b0e4dca830601be49bf619f6d562fdb7db9e26.tar.gz cpython-f6b0e4dca830601be49bf619f6d562fdb7db9e26.tar.bz2 |
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.
-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 c3d4760..eac4616 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' |