diff options
author | Nick Coghlan <ncoghlan@gmail.com> | 2011-03-19 15:22:59 +1000 |
---|---|---|
committer | Nick Coghlan <ncoghlan@gmail.com> | 2011-03-19 15:22:59 +1000 |
commit | 952c0782b39d2112c648f0731abf5e566fa20c37 (patch) | |
tree | 94f54105906fe5d09924c2c2863aa456882d5f7e | |
parent | 7e4c168385b5f723dbeb340abe51f7b99399e1c7 (diff) | |
download | cpython-952c0782b39d2112c648f0731abf5e566fa20c37.tar.gz cpython-952c0782b39d2112c648f0731abf5e566fa20c37.zip |
Last attempt to get compiler recursion crasher to fail reliably across platforms before giving up and skipping it as unreliably platform dependent
-rw-r--r-- | Lib/test/crashers/compiler_recursion.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/crashers/compiler_recursion.py b/Lib/test/crashers/compiler_recursion.py index c00cd6e188e..31f28a956f5 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') |