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 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:26skrahsetrecipients: + skrah, remi.lapeyre, asmeurer, xtreak
2019-03-20 14:32:26skrahsetmessageid: <1553092346.06.0.852626265021.issue36370@roundup.psfhosted.org>
2019-03-20 14:32:26skrahlinkissue36370 messages
2019-03-20 14:32:25skrahcreate