Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,2 @@
|
|||
import sys
|
||||
print(sys.getrecursionlimit())
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
import sys
|
||||
sys.setrecursionlimit(12345)
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
def recurse(counter):
|
||||
print(counter)
|
||||
counter += 1
|
||||
recurse(counter)
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
File "<stdin>", line 2, in recurse
|
||||
RecursionError: maximum recursion depth exceeded while calling a Python object
|
||||
996
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
def recurseDeeper(counter):
|
||||
try:
|
||||
print(counter)
|
||||
recurseDeeper(counter + 1)
|
||||
except RecursionError:
|
||||
print("RecursionError at depth", counter)
|
||||
recurseDeeper(counter + 1)
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
1045
|
||||
Fatal Python error: Cannot recover from stack overflow.
|
||||
Loading…
Add table
Add a link
Reference in a new issue