]> granicus.if.org Git - python/commitdiff
Drop the max stack depth to something that works in 2.6
authorNeal Norwitz <nnorwitz@gmail.com>
Fri, 18 May 2007 05:12:22 +0000 (05:12 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Fri, 18 May 2007 05:12:22 +0000 (05:12 +0000)
Python/marshal.c

index 8faea4726d89f687108c5da51ab0d9e84efd4e4e..eac4616cc569580f3de57dfa60fe394bc2005007 100644 (file)
@@ -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'