mypy icon indicating copy to clipboard operation
mypy copied to clipboard

Initial attempt at fixing issue-17706

Open kcdodd opened this issue 1 year ago • 3 comments

Fixes #17706

Handles recursion error during parse of too complex expressions, differentiates from internal recursion errors by attempting to unparse the ast. If builtin ast.unparse fails, then the error is ignored. Otherwise, re-raises.

kcdodd avatar Aug 23 '24 20:08 kcdodd

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

github-actions[bot] avatar Aug 23 '24 20:08 github-actions[bot]

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

github-actions[bot] avatar Aug 24 '24 19:08 github-actions[bot]

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

github-actions[bot] avatar Aug 25 '24 15:08 github-actions[bot]