Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5368396 commit f6c69e6Copy full SHA for f6c69e6
2 files changed
Lib/test/test_marshal.py
@@ -188,7 +188,7 @@ def test_recursion_limit(self):
188
head = last = []
189
# The max stack depth should match the value in Python/marshal.c.
190
if os.name == 'nt' and hasattr(sys, 'gettotalrefcount'):
191
- MAX_MARSHAL_STACK_DEPTH = 1500
+ MAX_MARSHAL_STACK_DEPTH = 1000
192
else:
193
MAX_MARSHAL_STACK_DEPTH = 2000
194
for i in range(MAX_MARSHAL_STACK_DEPTH - 2):
Python/marshal.c
@@ -19,7 +19,7 @@
19
* On Windows debug builds, reduce this value.
20
*/
21
#if defined(MS_WINDOWS) && defined(_DEBUG)
22
-#define MAX_MARSHAL_STACK_DEPTH 1500
+#define MAX_MARSHAL_STACK_DEPTH 1000
23
#else
24
#define MAX_MARSHAL_STACK_DEPTH 2000
25
#endif
0 commit comments