Author ebarry
Recipients ebarry, ezio.melotti, gvanrossum, haypo, martin.panter, r.david.murray, serhiy.storchaka, ztane
Date 2016-08-14.21:16:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1471209417.87.0.501020211278.issue27364@psf.upfronthosting.co.za>
In-reply-to
Content
Here's a new pair of patches for this. There are some small tweaks to the tests, and I properly fixed all instances of invalid escapes (I also made some strings into raw-strings at some places where it's not needed, solely for consistency with surrounding lines or functions). The patch that fixes the invalid escapes is four times larger than the previous one.

I would also advise to add to PEP 8 a bit recommending that strings used in regular expressions alwaus be raw-strings, even if there's no need to, as a lot (at least 70%) of the invalid escapes fixed were used in regexes.
History
Date User Action Args
2016-08-14 21:16:58ebarrysetrecipients: + ebarry, gvanrossum, haypo, ezio.melotti, r.david.murray, martin.panter, serhiy.storchaka, ztane
2016-08-14 21:16:57ebarrysetmessageid: <1471209417.87.0.501020211278.issue27364@psf.upfronthosting.co.za>
2016-08-14 21:16:57ebarrylinkissue27364 messages
2016-08-14 21:16:57ebarrycreate