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 vstinner
Recipients SilentGhost, ezio.melotti, mrabarnett, serhiy.storchaka, vstinner
Date 2016-11-18.23:04:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
New approach: patch 5 now compares indexgroup, groupindex and code instead of comparing pattern, to handle correctly two equal pattern strings compiled with the re.LOCALE flag and two different locales.

The patch also converts indexgroup list to a tuple to be able to hash it. (It also prevents modification, but this is just a side effect, and groupindex remains a mutable dictionary.)

_sre.compile() checks types which helps to identify a bug in unit tests.
Date User Action Args
2016-11-18 23:04:15vstinnersetrecipients: + vstinner, ezio.melotti, mrabarnett, SilentGhost, serhiy.storchaka
2016-11-18 23:04:15vstinnersetmessageid: <>
2016-11-18 23:04:15vstinnerlinkissue28727 messages
2016-11-18 23:04:15vstinnercreate