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

Add a function to identify ast Constant nodes more granularly #638

Merged
merged 2 commits into from Jan 3, 2023

Conversation

lieryan
Copy link
Member

@lieryan lieryan commented Jan 3, 2023

Description

This is useful for the tests, that benefits from the more granular identification, making the test cases a bit more readable than if everything is an ast.Constant.

All supported versions now supports sets and comprehensions
This handles the checkers in patchedasttest.py better than merging
all Constant into one thing, since soon we no longer would have Python
3.7 and lower testing these cases for us.
@lieryan lieryan added this to the 1.7.0 milestone Jan 3, 2023
@lieryan lieryan self-assigned this Jan 3, 2023
@lieryan lieryan enabled auto-merge January 3, 2023 12:16
@lieryan lieryan merged commit 163aef3 into master Jan 3, 2023
@lieryan lieryan deleted the lieryan-fine-grained-ast-node-identification branch January 3, 2023 12:17
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.

None yet

1 participant