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

Support chained comparison like if 0 < x < 10 #7

Open
0xbe7a opened this issue Jul 29, 2023 · 1 comment
Open

Support chained comparison like if 0 < x < 10 #7

0xbe7a opened this issue Jul 29, 2023 · 1 comment

Comments

@0xbe7a
Copy link
Contributor

0xbe7a commented Jul 29, 2023

We could transform tests like this to if (0 < x) and (x < 10):

@0xbe7a 0xbe7a mentioned this issue Jul 29, 2023
@pavelzw
Copy link
Member

pavelzw commented Jul 29, 2023

Also, we should add support for ast.BoolOp in the test of an if statement.
#3 (comment)

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

No branches or pull requests

2 participants