Skip to content

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
@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

2 participants