Message373747
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%. |
|
Date |
User |
Action |
Args |
2020-07-16 07:47:19 | wyz23x2 | set | recipients:
+ wyz23x2 |
2020-07-16 07:47:19 | wyz23x2 | set | messageid: <1594885639.25.0.559043335267.issue41313@roundup.psfhosted.org> |
2020-07-16 07:47:19 | wyz23x2 | link | issue41313 messages |
2020-07-16 07:47:19 | wyz23x2 | create | |
|