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.8 #206

Open
tirkarthi opened this issue Feb 8, 2020 · 1 comment
Open

Comments

@tirkarthi
Copy link

Deprecation warnings are raised due to invalid escape sequences in Python 3.8 . Below is a log of the warnings raised during compiling all the python files. Using raw strings or escaping them will fix this issue.

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

./rauth/session.py:131: DeprecationWarning: invalid escape sequence \*
  '''
./rauth/session.py:329: DeprecationWarning: invalid escape sequence \*
  '''
./rauth/session.py:425: DeprecationWarning: invalid escape sequence \*
  '''
./rauth/session.py:471: DeprecationWarning: invalid escape sequence \*
  '''
./rauth/service.py:196: DeprecationWarning: invalid escape sequence \*
  '''
./rauth/service.py:224: DeprecationWarning: invalid escape sequence \*
  '''
./rauth/service.py:248: DeprecationWarning: invalid escape sequence \*
  '''
./rauth/service.py:266: DeprecationWarning: invalid escape sequence \*
  '''
./rauth/service.py:302: DeprecationWarning: invalid escape sequence \*
  '''
./rauth/service.py:340: DeprecationWarning: invalid escape sequence \*
  '''
./rauth/service.py:483: DeprecationWarning: invalid escape sequence \*
  '''
./rauth/service.py:495: DeprecationWarning: invalid escape sequence \*
  '''
./rauth/service.py:526: DeprecationWarning: invalid escape sequence \*
  '''
./rauth/service.py:546: DeprecationWarning: invalid escape sequence \*
  '''
./rauth/service.py:651: DeprecationWarning: invalid escape sequence \*
  '''
./rauth/service.py:665: DeprecationWarning: invalid escape sequence \*
  '''
@storenth
Copy link

storenth commented Sep 6, 2023

rauth 0.7.3

Same here:
Screenshot 2023-09-06 at 13 01 02

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

No branches or pull requests

2 participants