This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author wyz23x2
Recipients wyz23x2
Date 2020-07-16.07:47:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1594885639.25.0.559043335267.issue41313@roundup.psfhosted.org>
In-reply-to
Content
Consider this code:
import sys
sys.setrecursionlimit(sys.maxsize)
Causes this:
OverflowError: Python int too large to convert to C int
So what is the limit? It should be sys.maxsize.
These 2 also don't work:
sys.setrecursionlimit(sys.maxsize-1)
sys.setrecursionlimit(sys.maxsize//2)
That is a big difference with at least 50%.
History
Date User Action Args
2020-07-16 07:47:19wyz23x2setrecipients: + wyz23x2
2020-07-16 07:47:19wyz23x2setmessageid: <1594885639.25.0.559043335267.issue41313@roundup.psfhosted.org>
2020-07-16 07:47:19wyz23x2linkissue41313 messages
2020-07-16 07:47:19wyz23x2create