Message275299
It would be nice to fix this so that the tests pass with -Werror. Here is a quick patch: * Fix the deprecated non-escapes * Make all the regular expressions raw strings * Fix bugs with parsing escaped quotes in C strings and char literals * Adapt from old regex module and Python 2 print statements * Add a new test file with a single test case (could easily be expanded) Documentation for the old “regex” module: https://docs.python.org/release/1.6/lib/module-regex.html | |
| Date | User | Action | Args | | 2016-09-09 10:06:34 | martin.panter | set | recipients: + martin.panter, ezio.melotti, serhiy.storchaka | | 2016-09-09 10:06:34 | martin.panter | set | messageid: <1473415594.72.0.697392344565.issue27952@psf.upfronthosting.co.za> | | 2016-09-09 10:06:34 | martin.panter | link | issue27952 messages | | 2016-09-09 10:06:34 | martin.panter | create | | |