From: Nick Coghlan Date: Sat, 19 Mar 2011 05:22:59 +0000 (+1000) Subject: Last attempt to get compiler recursion crasher to fail reliably across platforms... X-Git-Tag: v3.3.0a1~2891^2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=952c0782b39d2112c648f0731abf5e566fa20c37;p=thirdparty%2FPython%2Fcpython.git Last attempt to get compiler recursion crasher to fail reliably across platforms before giving up and skipping it as unreliably platform dependent --- diff --git a/Lib/test/crashers/compiler_recursion.py b/Lib/test/crashers/compiler_recursion.py index c00cd6e188ef..31f28a956f55 100644 --- a/Lib/test/crashers/compiler_recursion.py +++ b/Lib/test/crashers/compiler_recursion.py @@ -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')