Skip to content

Commit ce15dce

Browse files
committed
Drop the max stack depth to something that works in 2.6
1 parent 2cb077a commit ce15dce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/marshal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* and risks coring the interpreter. When the object stack gets this deep,
1616
* raise an exception instead of continuing.
1717
*/
18-
#define MAX_MARSHAL_STACK_DEPTH 5000
18+
#define MAX_MARSHAL_STACK_DEPTH 2000
1919

2020
#define TYPE_NULL '0'
2121
#define TYPE_NONE 'N'

0 commit comments

Comments
 (0)