Python: What is the hard recursion limit for Linux, Mac and Windows?

Posted by cool-RR on Stack Overflow See other posts from Stack Overflow or by cool-RR
Published on 2010-05-26T22:12:42Z Indexed on 2010/05/26 22:21 UTC
Read the original article Hit count: 238

Filed under:
|
|

Python's sys module provides a function setrecursionlimit that lets you change Python's maximum recursion limit. The docs say:

The highest possible limit is platform-dependent.

My question is: What is the highest possible limits for various platforms, under CPython? I would like to know the values for Linux, Mac and Windows.

© Stack Overflow or respective owner

Related posts about python

Related posts about recursion