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

replace deprecated ast nodes #50

Closed
wants to merge 1 commit into from

Conversation

clavedeluna
Copy link
Contributor

closes #4

As issue states, multiple ast nodes have been replaced with ast.Constant. dlint seems to only use ast.Str and NameConstant, so that's what I replaced.

I also looked for any of the corresponding visit_node functions, and they are not used in the repo.

@clavedeluna
Copy link
Contributor Author

Clearly this didn't work for py3.6 and 3.7. I'll try to reproduce this locally and see if there's a workaround for those versions.

@mschwager
Copy link
Contributor

Clearly this didn't work for py3.6 and 3.7. I'll try to reproduce this locally and see if there's a workaround for those versions.

Hmm, yeah, based on #4 I think we may only be able to make this change once Python 3.8 is the oldest supported version.

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.

Remove use of deprecated ast classes and methods
2 participants