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

Fix DeprecationWarning in Python 3.6 #76

Merged
merged 1 commit into from Mar 5, 2017
Merged

Fix DeprecationWarning in Python 3.6 #76

merged 1 commit into from Mar 5, 2017

Conversation

yan12125
Copy link
Contributor

In Python 3.6, invalid escape sequences in string literals are deprecated: [1][2]

$ python3.6 -B -W error -c 'import appdirs'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
DeprecationWarning: invalid escape sequence '\D'

My patch fixes all of them.

[1] http://bugs.python.org/issue28128
[2] http://bugs.python.org/issue27364

@zoofood
Copy link
Contributor

zoofood commented Mar 5, 2017

Thanks, this has been merged. My apologies for the delay, it was before I took up maintenance, and hadn't really examined the python 3.6 support closely enough. Cheers.

@zoofood zoofood closed this Mar 5, 2017
@zoofood zoofood reopened this Mar 5, 2017
@zoofood zoofood merged commit 50a583b into ActiveState:master Mar 5, 2017
@yan12125 yan12125 deleted the fix-py36-invalid-escape-sequence branch March 6, 2017 07:37
@yan12125
Copy link
Contributor Author

yan12125 commented Mar 6, 2017

Thanks!

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 this pull request may close these issues.

None yet

2 participants