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

Invalid Escape Sequences in Python 3.6 #802

Closed
cooperlees opened this issue May 24, 2017 · 3 comments
Closed

Invalid Escape Sequences in Python 3.6 #802

cooperlees opened this issue May 24, 2017 · 3 comments

Comments

@cooperlees
Copy link
Contributor

I'd like to fix the following invalid escape sequences scattered across the click code.

click/core.py:1253: DeprecationWarning: invalid escape sequence \s
"""
click/_compat.py:14: DeprecationWarning: invalid escape sequence [
_ansi_re = re.compile('\033[((?:\d|;)*)([a-zA-Z])')
click/decorators.py:111: DeprecationWarning: invalid escape sequence \s
""

If no one disagrees, I'll create a diff making these r''

@cooperlees
Copy link
Contributor Author

Created #807

@segevfiner
Copy link
Contributor

BTW, I think this will become a hard error in Python 3.7

@jcrotts
Copy link
Contributor

jcrotts commented May 16, 2018

Closing this because it was merged in #807

@jcrotts jcrotts closed this as completed May 16, 2018
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 13, 2020
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

3 participants