Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Use of 'is' for non-object. #99

Closed
gbartlet opened this issue Feb 4, 2021 · 1 comment
Closed

Use of 'is' for non-object. #99

gbartlet opened this issue Feb 4, 2021 · 1 comment

Comments

@gbartlet
Copy link

gbartlet commented Feb 4, 2021

Minor, but keeps popping up in tooling we're doing:

In matrixprofile/matrixProfile.py the use of is (instead of ==) to compare n_threads to non-object -1 prompts SyntaxWarning: "is" with a literal.

@vanbenschoten
Copy link
Collaborator

Hi @gbartlet! It might be worth checking out the new "matrixprofile" python library, which has better syntax (and performance, tooling, etc :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants