Message338475
This occurs when handling a recursion error uses more than 50 extra nested function calls:
if (tstate->overflowed) {
if (tstate->recursion_depth > recursion_limit + 50) {
/* Overflowing while handling an overflow. Give up. */
Py_FatalError("Cannot recover from stack overflow.");
}
return 0;
}
You can set the recursion limit with sys.setrecursionlimit(), but it is the extra stack depth that matters here. |
|
Date |
User |
Action |
Args |
2019-03-20 14:32:26 | skrah | set | recipients:
+ skrah, remi.lapeyre, asmeurer, xtreak |
2019-03-20 14:32:26 | skrah | set | messageid: <1553092346.06.0.852626265021.issue36370@roundup.psfhosted.org> |
2019-03-20 14:32:26 | skrah | link | issue36370 messages |
2019-03-20 14:32:25 | skrah | create | |
|