[Bug 1898768] [NEW] multiple SyntaxWarning messages displayed during install
Eric Seppanen
1898768 at bugs.launchpad.net
Tue Oct 6 18:37:09 UTC 2020
Public bug reported:
During apt install of the python3-jmespath package the following is
displayed:
Setting up python3-jmespath (0.9.4-2) ...
/usr/lib/python3/dist-packages/jmespath/visitor.py:32: SyntaxWarning: "is" with a literal. Did you mean "=="?
if x is 0 or x is 1:
/usr/lib/python3/dist-packages/jmespath/visitor.py:32: SyntaxWarning: "is" with a literal. Did you mean "=="?
if x is 0 or x is 1:
/usr/lib/python3/dist-packages/jmespath/visitor.py:34: SyntaxWarning: "is" with a literal. Did you mean "=="?
elif y is 0 or y is 1:
/usr/lib/python3/dist-packages/jmespath/visitor.py:34: SyntaxWarning: "is" with a literal. Did you mean "=="?
elif y is 0 or y is 1:
/usr/lib/python3/dist-packages/jmespath/visitor.py:260: SyntaxWarning: "is" with a literal. Did you mean "=="?
if original_result is 0:
It's not clear to me if it's an actual bug, but either it is and should
be fixed, or it isn't and the scary warning messages should be
suppressed.
** Affects: python-jmespath (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to python-jmespath in Ubuntu.
https://bugs.launchpad.net/bugs/1898768
Title:
multiple SyntaxWarning messages displayed during install
Status in python-jmespath package in Ubuntu:
New
Bug description:
During apt install of the python3-jmespath package the following is
displayed:
Setting up python3-jmespath (0.9.4-2) ...
/usr/lib/python3/dist-packages/jmespath/visitor.py:32: SyntaxWarning: "is" with a literal. Did you mean "=="?
if x is 0 or x is 1:
/usr/lib/python3/dist-packages/jmespath/visitor.py:32: SyntaxWarning: "is" with a literal. Did you mean "=="?
if x is 0 or x is 1:
/usr/lib/python3/dist-packages/jmespath/visitor.py:34: SyntaxWarning: "is" with a literal. Did you mean "=="?
elif y is 0 or y is 1:
/usr/lib/python3/dist-packages/jmespath/visitor.py:34: SyntaxWarning: "is" with a literal. Did you mean "=="?
elif y is 0 or y is 1:
/usr/lib/python3/dist-packages/jmespath/visitor.py:260: SyntaxWarning: "is" with a literal. Did you mean "=="?
if original_result is 0:
It's not clear to me if it's an actual bug, but either it is and
should be fixed, or it isn't and the scary warning messages should be
suppressed.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-jmespath/+bug/1898768/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list