Message226989
This patch has a disadvantage - it slows down case-insensitive compiling of some very wide ranges, e.g. compile(r"[\x00-\U0010ffff]+", re.I) (this is worst case). In most cases this is not important, because such wide ranges are rare enough and compiled patterns are cached.
To get rid of this regression, we need new opcode. Due to preserving binary compatibility, this approach can't be applied to old releases. Here is a patch for 3.5.
Please make a review. This patches are needed to continue fixing of other re bugs. |
|
Date |
User |
Action |
Args |
2014-09-17 08:57:13 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, ezio.melotti, mrabarnett, acdha |
2014-09-17 08:57:13 | serhiy.storchaka | set | messageid: <1410944233.33.0.989207946096.issue17381@psf.upfronthosting.co.za> |
2014-09-17 08:57:13 | serhiy.storchaka | link | issue17381 messages |
2014-09-17 08:57:13 | serhiy.storchaka | create | |
|