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

neal.norwitz python-checkins at python.org
Thu May 17 08:11:36 CEST 2007


Author: neal.norwitz
Date: Thu May 17 08:11:36 2007
New Revision: 55396

Modified:
   python/trunk/Python/marshal.c
Log:
Reduce the max stack depth to see if this fixes the segfaults on
Windows and some other boxes.  If this is successful, this rev should
be backported.  I'm not sure how close to the limit we should push this.


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


More information about the Python-checkins mailing list