Skip to content

Conversation

moben
Copy link
Contributor

@moben moben commented Feb 18, 2017

errors on invalid escape sequences in strings, such as "\s"

i.e. anything not mentioned in https://docs.python.org/3/reference/lexical_analysis.html#strings

moben and others added 2 commits February 18, 2017 02:51
errors on invalid escape sequences in strings, such as "\s"

i.e. anything not mentioned in https://docs.python.org/3/reference/lexical_analysis.html#strings
@gsnedders
Copy link
Member

Oh, this isn't compatibility per-se, this is just avoiding DeprecationWarnings? (So it's essentially compatibility with some future version.)

@moben
Copy link
Contributor Author

moben commented Feb 18, 2017

yes. Looking again I might have run into it with -Werror I guess.

Still a good idea, though for a future python version.

@gsnedders gsnedders merged commit 17499b9 into html5lib:master Feb 18, 2017
@gsnedders
Copy link
Member

Oh, totally, still a good idea; thanks for the patch!

@gsnedders
Copy link
Member

(In case it was unclear: I didn't merge it earlier because I was still waiting on Travis CI to finish running against the merge with the Travis fix.)

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.

2 participants