From: Serhiy Storchaka Date: Sat, 11 Jun 2016 16:24:24 +0000 (+0300) Subject: Issue #27030: The re.LOCALE flag now can be used only with bytes patterns. X-Git-Tag: v3.6.0a2~47 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e6dae877dc119faadeae1df5a2792e3a02b66f7d;p=python Issue #27030: The re.LOCALE flag now can be used only with bytes patterns. (Just updated NEWS.) --- diff --git a/Misc/NEWS b/Misc/NEWS index b5cf314892..ee459898fb 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -39,7 +39,8 @@ Library ------- - Issue #27030: Unknown escapes consisting of ``'\'`` and ASCII letter in - regular expressions now are errors. + regular expressions now are errors. The re.LOCALE flag now can be used + only with bytes patterns. - Issue #27186: Add os.PathLike support to DirEntry (part of PEP 519). Initial patch by Jelle Zijlstra.