Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip files that raise RecursionError #304

Merged
merged 1 commit into from
Nov 10, 2023
Merged

Skip files that raise RecursionError #304

merged 1 commit into from
Nov 10, 2023

Conversation

dosisod
Copy link
Owner

@dosisod dosisod commented Nov 10, 2023

Certain deeply-nested expressions cause the Refurb visitor to blow the stack. This doesn't seem to be an issue when running with Mypy directly, though this is probably because we are traversing the entire AST. As a workaround we will silently ignore files that cause this issue. For debugging purposes there should probably be a flag to show files that have been ignored (perhaps just stuff it under the -v flag for now).

Also bump version for new release.

Closes #302.

Certain deeply-nested expressions cause the Refurb visitor to blow the stack.
This doesn't seem to be an issue when running with Mypy directly, though this
is probably because we are traversing the entire AST. As a workaround we will
silently ignore files that cause this issue. For debugging purposes there
should probably be a flag to show files that have been ignored (perhaps just
stuff it under the `-v` flag for now).

Also bump version for new release.

Closes #302.
@dosisod dosisod merged commit b5f9f11 into master Nov 10, 2023
3 checks passed
@dosisod dosisod deleted the fix-issue-302 branch November 10, 2023 23:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: crash within mypy on sympy/polys/numberfields/resolvent_lookup.py
1 participant