]> granicus.if.org Git - python/commitdiff
Issue #27030: The re.LOCALE flag now can be used only with bytes patterns.
authorSerhiy Storchaka <storchaka@gmail.com>
Sat, 11 Jun 2016 16:24:24 +0000 (19:24 +0300)
committerSerhiy Storchaka <storchaka@gmail.com>
Sat, 11 Jun 2016 16:24:24 +0000 (19:24 +0300)
(Just updated NEWS.)

Misc/NEWS

index b5cf31489238181dcee22b6f433b53c2a2bf7988..ee459898fbe4756606381d27845b07feeebf4953 100644 (file)
--- 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.