This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author abarry
Recipients abarry, ezio.melotti, gvanrossum, martin.panter, r.david.murray, serhiy.storchaka, vstinner, 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:58abarrysetrecipients: + abarry, gvanrossum, vstinner, ezio.melotti, r.david.murray, martin.panter, serhiy.storchaka, ztane
2016-08-14 21:16:57abarrysetmessageid: <1471209417.87.0.501020211278.issue27364@psf.upfronthosting.co.za>
2016-08-14 21:16:57abarrylinkissue27364 messages
2016-08-14 21:16:57abarrycreate