sumerc / yappi

Yet Another Python Profiler, but this time multithreading, asyncio and gevent aware.
MIT License
1.45k stars 73 forks source link

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

Closed tirkarthi closed 4 years ago

tirkarthi commented 4 years ago

Deprecation warnings are raised due to invalid escape sequences. This can be fixed by using raw strings or escaping the literals.

find . -iname '*.py' | grep -v example | xargs -P 4 -I{} python3.8 -Wall -m py_compile {} ./tests/test_functionality.py:299: DeprecationWarning: invalid escape sequence \s
  b'name\s+id\s+tid\s+ttot\s+scnt\s*\n', out
sumerc commented 4 years ago

Nifty shell script :)

Will be fixing ASAP, thank you!