[Python-checkins] cpython: Issue #27030: The re.LOCALE flag now can be used only with bytes patterns.

serhiy.storchaka python-checkins at python.org
Sat Jun 11 12:24:45 EDT 2016


https://hg.python.org/cpython/rev/8ed3880e94e5
changeset:   101875:8ed3880e94e5
user:        Serhiy Storchaka <storchaka at gmail.com>
date:        Sat Jun 11 19:24:24 2016 +0300
summary:
  Issue #27030: The re.LOCALE flag now can be used only with bytes patterns.

(Just updated NEWS.)

files:
  Misc/NEWS |  3 ++-
  1 files changed, 2 insertions(+), 1 deletions(-)


diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -39,7 +39,8 @@
 -------
 
 - 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.

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list