Mercurial > cpython-lru_cache-weakref
diff Python/marshal.c @ 41748:6f0dba807734 legacy-trunk
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.
| author | Neal Norwitz <nnorwitz@gmail.com> |
|---|---|
| date | Thu, 17 May 2007 07:04:46 +0000 |
| parents | cc6f47f1e13a |
| children | cda0b625275a |
line wrap: on
line diff
--- a/Python/marshal.c Thu May 17 06:23:50 2007 +0000 +++ b/Python/marshal.c Thu May 17 07:04:46 2007 +0000 @@ -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'
