]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Last attempt to get compiler recursion crasher to fail reliably across platforms...
authorNick Coghlan <ncoghlan@gmail.com>
Sat, 19 Mar 2011 05:22:59 +0000 (15:22 +1000)
committerNick Coghlan <ncoghlan@gmail.com>
Sat, 19 Mar 2011 05:22:59 +0000 (15:22 +1000)
Lib/test/crashers/compiler_recursion.py

index c00cd6e188ef36ccabb020519f04b75e1573b745..31f28a956f5592212178a961b0303e4ee0455c97 100644 (file)
@@ -9,5 +9,5 @@ Recorded on the tracker as http://bugs.python.org/issue11383
 # e.g. '1*'*10**5+'1' will die in compiler_visit_expr
 
 # The exact limit to destroy the stack will vary by platform
-# but 1M should do the trick most places
-compile('()'*10**6, '?', 'exec')
+# but 10M should do the trick even with huge stack allocations
+compile('()'*10**7, '?', 'exec')