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

SyntaxWarning on first import #196

Closed
vreuter opened this issue Aug 2, 2023 · 1 comment · Fixed by #200
Closed

SyntaxWarning on first import #196

vreuter opened this issue Aug 2, 2023 · 1 comment · Fixed by #200
Assignees

Comments

@vreuter
Copy link
Member

vreuter commented Aug 2, 2023

Upon first import of pypiper (version 0.12.3) in a Python 3.10 REPL, I see a few syntax warnings based on is-based, rather than ==-based, comparison. Could code be changed to avoid that?

pypiper/utils.py:349: SyntaxWarning: "is" with a literal. Did you mean "=="
@donaldcampbelljr
Copy link
Member

I believe this is now fixed with 0b430c7

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

Successfully merging a pull request may close this issue.

2 participants