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 and syntax warnings in Python 3.8 #38

Open
tirkarthi opened this issue May 3, 2020 · 0 comments · May be fixed by #41
Open

Deprecation and syntax warnings in Python 3.8 #38

tirkarthi opened this issue May 3, 2020 · 0 comments · May be fixed by #41

Comments

@tirkarthi
Copy link

Deprecation warning due to invalid escape sequences. Using raw strings or escaping them again helps in resolving this. Check https://github.com/asottile/pyupgrade/ for automatic fix of this.

find . -iname '*.py' | grep -Ev 'rdf4|doc|benchmark|tool' | xargs -P4 -I{} python3.8 -Wall -m py_compile {}
./slugify/__init__.py:84: DeprecationWarning: invalid escape sequence \s
  new = re.sub('[%s\s]+' % space_replacement, space_replacement, new)
@dnicolson dnicolson linked a pull request Jan 27, 2024 that will close this issue
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