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

Deprecation warning due to invalid escape sequences in Python 3.7 #56

Closed
tirkarthi opened this issue Feb 29, 2020 · 0 comments · Fixed by #61
Closed

Deprecation warning due to invalid escape sequences in Python 3.7 #56

tirkarthi opened this issue Feb 29, 2020 · 0 comments · Fixed by #61

Comments

@tirkarthi
Copy link
Contributor

Deprecation warning are generated over invalid escape sequences. This can be fixed by using raw strings or escaping the literals again.

find . -iname '*.py'  | xargs -P 4 -I{} python -Walways -m py_compile {}

./suds/wsdl.py:621: DeprecationWarning: invalid escape sequence \s
  body.parts = re.split('[\s,]', parts)
./suds/resolver.py:89: DeprecationWarning: invalid escape sequence \%
  self.splitp = re.compile('({.+})*[^\%s]+' % ps[0])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant