Data commit

This commit is contained in:
Ingy döt Net 2023-07-01 11:58:00 -04:00
parent 7387c8f97b
commit cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions

View file

@ -0,0 +1,2 @@
import sys
print(sys.getrecursionlimit())

View file

@ -0,0 +1,2 @@
import sys
sys.setrecursionlimit(12345)

View file

@ -0,0 +1,4 @@
def recurse(counter):
print(counter)
counter += 1
recurse(counter)

View file

@ -0,0 +1,3 @@
File "<stdin>", line 2, in recurse
RecursionError: maximum recursion depth exceeded while calling a Python object
996

View file

@ -0,0 +1,7 @@
def recurseDeeper(counter):
try:
print(counter)
recurseDeeper(counter + 1)
except RecursionError:
print("RecursionError at depth", counter)
recurseDeeper(counter + 1)

View file

@ -0,0 +1,2 @@
1045
Fatal Python error: Cannot recover from stack overflow.