[Python-checkins] r55398 - python/trunk/Python/marshal.c

neal.norwitz python-checkins at python.org
Thu May 17 09:04:48 CEST 2007


Author: neal.norwitz
Date: Thu May 17 09:04:46 2007
New Revision: 55398
Modified:
 python/trunk/Python/marshal.c
Log:
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.
Modified: python/trunk/Python/marshal.c
==============================================================================
--- python/trunk/Python/marshal.c	(original)
+++ python/trunk/Python/marshal.c	Thu May 17 09:04:46 2007
@@ -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'


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /