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

Evaluation of True/False statements #64

Open
jimc101 opened this issue Nov 23, 2021 · 0 comments
Open

Evaluation of True/False statements #64

jimc101 opened this issue Nov 23, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@jimc101
Copy link
Member

jimc101 commented Nov 23, 2021

There is a mixture of syntax used in evaluating truth statements which needs addressing. Need to double check Cython interprets all of them in the same way. Even if it does, it makes sense to use a uniform syntax. A prime example is grid_metrics.pyx, where one sees statements like if var == True: and if var: mixed. Especially important is not confusing this syntax with comparisons to None.

@jimc101 jimc101 added the enhancement New feature or request label Nov 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant