Skip to content
This repository has been archived by the owner on Dec 11, 2023. It is now read-only.

Deprecation warning due to invalid escape sequences. #402

Open
tirkarthi opened this issue May 3, 2020 · 0 comments
Open

Deprecation warning due to invalid escape sequences. #402

tirkarthi opened this issue May 3, 2020 · 0 comments

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 {}
./bcolz/ctable.py:30: DeprecationWarning: invalid escape sequence \s
  re_str_split = re.compile("^\s+|\s*,\s*|\s+$")
./cpuinfo.py:553: DeprecationWarning: invalid escape sequence \d
  if re.match('^i\d86$|^x86$|^x86_32$|^i86pc$|^ia32$|^ia-32$|^bepc$', raw_arch_string):
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant