Message382910
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. |
|
Date |
User |
Action |
Args |
2020-12-12 12:44:04 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, methane, pmpp, corona10, hongweipeng, stestagg, Erik-Lamers1 |
2020-12-12 12:44:04 | serhiy.storchaka | set | messageid: <1607777044.34.0.701800980875.issue42609@roundup.psfhosted.org> |
2020-12-12 12:44:04 | serhiy.storchaka | link | issue42609 messages |
2020-12-12 12:44:04 | serhiy.storchaka | create | |
|