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

neal.norwitz python-checkins at python.org
Thu May 17 08:23:52 CEST 2007


Author: neal.norwitz
Date: Thu May 17 08:23:50 2007
New Revision: 55397

Modified:
   python/trunk/Python/marshal.c
Log:
Set the depth to something very small to try to determine if the
crashes on Windows are really due to the stack size or possibly
some other problem.


Modified: python/trunk/Python/marshal.c
==============================================================================
--- python/trunk/Python/marshal.c	(original)
+++ python/trunk/Python/marshal.c	Thu May 17 08:23:50 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 4000
+#define MAX_MARSHAL_STACK_DEPTH 1000
 
 #define TYPE_NULL		'0'
 #define TYPE_NONE		'N'


More information about the Python-checkins mailing list