You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A backslash-character pair that is not a valid escape sequence now generates a DeprecationWarning. Although this will eventually become a SyntaxError,[...]
Matplotlib is full of these in docstrings and regular expressions.
Python right now try to do the right things and "magically" inserting an extra \ but this can be a sign of a latent bug.
I would suggest to turn the test suite to make these warnings visible and slowly start to fix it, eventually turning this into an error (on 3.6 and above) to make sure more are not injected.
Activity
Fix a number of Deprecated/Invalid escape sequences
Fix a number of Deprecated/Invalid escape sequences
Fix a number of Deprecated/Invalid escape sequences
Fix a number of Deprecated/Invalid escape sequences
Fix a number of Deprecated/Invalid escape sequences
Fix a number of Deprecated/Invalid escape sequences
Fix a number of Deprecated/Invalid escape sequences
Fix a number of Deprecated/Invalid escape sequences
Fix a number of Deprecated/Invalid escape sequences
Fix a number of Deprecated/Invalid escape sequences
anntzer commentedon Apr 15, 2017
Closed by #7925 (and others).