You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When i updated my project to use Python 3.12 i started to get a warning from splunk-sdk:
/usr/local/lib/python3.12/site-packages/splunklib/client.py:772: SyntaxWarning: invalid escape sequence '\/'
In Python 3.12 there was a change related to this issue:
A backslash-character pair that is not a valid escape sequence now generates a SyntaxWarning, instead of DeprecationWarning. For example, re.compile("\d+.\d+") now emits a SyntaxWarning ("\d" is an invalid escape sequence, use raw strings for regular expression: re.compile(r"\d+.\d+")). In a future Python version, SyntaxError will eventually be raised, instead of SyntaxWarning
Describe the bug
When i updated my project to use Python 3.12 i started to get a warning from splunk-sdk:
/usr/local/lib/python3.12/site-packages/splunklib/client.py:772: SyntaxWarning: invalid escape sequence '\/'
In Python 3.12 there was a change related to this issue:
To Reproduce
Steps to reproduce the behavior:
SDK (please complete the following information):
Linked PR: #583
The text was updated successfully, but these errors were encountered: