[Python-checkins] r55425 - python/branches/release25-maint/Python/marshal.c

neal.norwitz python-checkins at python.org
Fri May 18 07:12:27 CEST 2007


Author: neal.norwitz
Date: Fri May 18 07:12:22 2007
New Revision: 55425

Modified:
   python/branches/release25-maint/Python/marshal.c
Log:
Drop the max stack depth to something that works in 2.6

Modified: python/branches/release25-maint/Python/marshal.c
==============================================================================
--- python/branches/release25-maint/Python/marshal.c	(original)
+++ python/branches/release25-maint/Python/marshal.c	Fri May 18 07:12:22 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 2000
 
 #define TYPE_NULL		'0'
 #define TYPE_NONE		'N'


More information about the Python-checkins mailing list