Skip to content

Conversation

@wyattscarpenter
Copy link

@wyattscarpenter wyattscarpenter commented May 14, 2025

This change fixes invalid escape sequences in strings, which produce a syntax warning on later versions of python, by making them raw strings. Incidentally, there were some \neq in these strings, and so this change also prevents from from being interpreted newline+eq.

You can verify I haven't missed any by running a recent version of python over the file, which I have done. I haven't meticulously checked that there weren't any real escape sequences that were intended in the strings and now don't work, but given the \n thing above I think that's unlikely.

This change fixes invalid escape sequences in strings, which produce a syntax warning on later versions of python, by making them raw strings. Incidentally, there were some `\neq` in these strings, and so this change also prevents from from being interpreted newline+eq.

I didn't try hard to check that I'd caught all of these.
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.

1 participant