Skip to content

Commit 9c7411c

Browse files
committed
Define function 'sys.getrecursionlimit'.
1 parent f776428 commit 9c7411c

File tree

1 file changed

+5
-0
lines changed
  • graalpython/lib-graalpython

1 file changed

+5
-0
lines changed

graalpython/lib-graalpython/sys.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,3 +169,8 @@ def __print_traceback__(typ, value, tb):
169169
__excepthook__ = make_excepthook()
170170
excepthook = __excepthook__
171171
del make_excepthook
172+
173+
174+
@__builtin__
175+
def getrecursionlimit():
176+
return 1000

0 commit comments

Comments
 (0)