splunk-sdk-python icon indicating copy to clipboard operation
splunk-sdk-python copied to clipboard

Deprecation warning due to invalid escape sequences in Python 3.7

Open tirkarthi opened this issue 6 years ago • 1 comments

find . -iname '*.py' | grep -v example | xargs -P 4 -I{} python3.8 -Wall -m py_compile {}
./tests/testlib.py:187: DeprecationWarning: invalid escape sequence \)
  """Return a path to *pathComponents* in *appName*.
./splunklib/client.py:1875: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if name[-1] is not ":":
./splunklib/searchcommands/internals.py:77: DeprecationWarning: invalid escape sequence \w
  """ Parses the arguments to a search command.

tirkarthi avatar Apr 11 '20 14:04 tirkarthi

Rebased and merged.

amysutedja avatar Sep 10 '20 23:09 amysutedja