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 mrabarnett
Recipients ezio.melotti, mrabarnett, pitrou, serhiy.storchaka
Date 2014-09-14.16:59:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1410713972.85.0.480887475953.issue22410@psf.upfronthosting.co.za>
In-reply-to
Content
The support for locales in the re module is limited to those with 1 byte per character, and only for a few properties (those provided by the underlying C library), so maybe it could do the following:

If the LOCALE flag is set, then read the current locale and build a table of its properties.

Let the compiled pattern refer to the property table.

When matching, use the property table referred to by the pattern.
History
Date User Action Args
2014-09-14 16:59:32mrabarnettsetrecipients: + mrabarnett, pitrou, ezio.melotti, serhiy.storchaka
2014-09-14 16:59:32mrabarnettsetmessageid: <1410713972.85.0.480887475953.issue22410@psf.upfronthosting.co.za>
2014-09-14 16:59:32mrabarnettlinkissue22410 messages
2014-09-14 16:59:32mrabarnettcreate