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 serhiy.storchaka
Recipients ezio.melotti, mrabarnett, serhiy.storchaka
Date 2017-04-30.05:21:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1493529699.82.0.722013579131.issue30215@psf.upfronthosting.co.za>
In-reply-to
Content
Currently the result of re.compile() with the re.LOCALE flag depends on the locale at compile time.  The locale at matching time should be the same as the locale at compile time, otherwise the matching can work incorrectly. This complicates caching in module global functions and increase the chance of race condition.

Proposed patch makes re.compile() not depending on locale. Only the locale at matching time affects the result of matching.

This is more comprehensive solution of issue22410.
History
Date User Action Args
2017-04-30 05:21:39serhiy.storchakasetrecipients: + serhiy.storchaka, ezio.melotti, mrabarnett
2017-04-30 05:21:39serhiy.storchakasetmessageid: <1493529699.82.0.722013579131.issue30215@psf.upfronthosting.co.za>
2017-04-30 05:21:39serhiy.storchakalinkissue30215 messages
2017-04-30 05:21:39serhiy.storchakacreate