Message338475
| Author | skrah |
|---|---|
| Recipients | asmeurer, remi.lapeyre, skrah, xtreak |
| Date | 2019-03-20.14:32:25 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1553092346.06.0.852626265021.issue36370@roundup.psfhosted.org> |
| In-reply-to |
| Content | |
|---|---|
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. |
|
| History | |||
|---|---|---|---|
| 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 | |