awslogs icon indicating copy to clipboard operation
awslogs copied to clipboard

python 3.8 warning 'SyntaxWarning: "is" with a literal. Did you mean "=="?"'

Open pswenson opened this issue 4 years ago • 1 comments

Running on Mac/Homebrew every analogs command gives this warning:

/usr/local/Cellar/awslogs/0.11.0_2/libexec/lib/python3.8/site-packages/jmespath/visitor.py:32: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if x is 0 or x is 1:

needs to be updated for 3.8 warning?

pswenson avatar Apr 16 '20 22:04 pswenson

This is fixed upstream in jmespath as of 0.9.5.

mtoothman avatar May 26 '20 13:05 mtoothman