mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
Last attempt to get compiler recursion crasher to fail reliably across platforms before giving up and skipping it as unreliably platform dependent
This commit is contained in:
parent
7e4c168385
commit
952c0782b3
1 changed files with 2 additions and 2 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue