You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
assignee=Noneclosed_at=Nonecreated_at=<Date2020-12-09.11:05:07.647>labels= ['interpreter-core', '3.10', '3.9', 'type-crash']
title='Eval with too high string multiplication crashes newer Python versions'updated_at=<Date2022-01-14.14:30:39.123>user='https://github.com/Erik-Lamers1'
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.