This is an archive of the discontinued Mercurial Phabricator instance.

patch: properly escape \ in string literals
ClosedPublic

Authored by indygreg on Feb 4 2019, 12:18 PM.

Details

Summary

Python 3.8 will emit a SyntaxWarning for str/bytes with invalid
escapes. This commit addresses 4 occurrences where we had a bare
\ in a str/bytes.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

indygreg created this revision.Feb 4 2019, 12:18 PM
This revision was automatically updated to reflect the committed changes.