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
pyflakes has traditionally recursed with a handler for every
level of the ast. The ast depth can become very large, especially
for an expression containing many binary operators.
Python has a maximum recursion limit, defaulting to a low number
like 1000, which resulted in a RuntimeError for the ast of:
x = 1 + 2 + 3 + ... + 1001
To workaround this problem, pyflakes now increases the recursion
limit at runtime when it knows it will be exceeded.
Fixes lp:1507827
0 commit comments