Author serhiy.storchaka
Recipients Erik-Lamers1, corona10, hongweipeng, methane, pmpp, serhiy.storchaka, stestagg
Date 2020-12-12.12:44:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1607777044.34.0.701800980875.issue42609@roundup.psfhosted.org>
In-reply-to
Content
This is known issue, but interesting that the cause of the crash is different in 3.7-3.8 and 3.9+.

PR 23744 adds recursion checks in the AST validator and optimizer similar to the checks in the symtable. It should not break any existing code because too deep AST tree did not pass checks in the symtable in any case.

But it does not solve all problems. A compound statement with too many "elif"s is still crashed because the new parser uses recursion in C to parse it (elif_stmt_rule). I think it should be a separate issue.
History
Date User Action Args
2020-12-12 12:44:04serhiy.storchakasetrecipients: + serhiy.storchaka, methane, pmpp, corona10, hongweipeng, stestagg, Erik-Lamers1
2020-12-12 12:44:04serhiy.storchakasetmessageid: <1607777044.34.0.701800980875.issue42609@roundup.psfhosted.org>
2020-12-12 12:44:04serhiy.storchakalinkissue42609 messages
2020-12-12 12:44:04serhiy.storchakacreate