[Python-checkins] cpython (merge 3.6 -> default): update news and re doc

ethan.furman python-checkins at python.org
Mon Nov 21 11:31:12 EST 2016


https://hg.python.org/cpython/rev/12b4e7209d03
changeset:   105289:12b4e7209d03
parent:      105286:b708b3190ecb
parent:      105288:176fc21f8430
user:        Ethan Furman <ethan at stoneleaf.us>
date:        Mon Nov 21 08:30:55 2016 -0800
summary:
  update news and re doc

files:
  Doc/library/re.rst |  3 +++
  Misc/NEWS          |  2 ++
  2 files changed, 5 insertions(+), 0 deletions(-)


diff --git a/Doc/library/re.rst b/Doc/library/re.rst
--- a/Doc/library/re.rst
+++ b/Doc/library/re.rst
@@ -478,6 +478,9 @@
 regular expressions.  Most non-trivial applications always use the compiled
 form.
 
+.. versionchanged:: 3.6
+   Flag constants are now instances of :class:`RegexFlag`, which is a subclass of
+   :class:`enum.IntFlag`.
 
 .. function:: compile(pattern, flags=0)
 
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -726,6 +726,8 @@
 - Issue #28025: Convert all ssl module constants to IntEnum and IntFlags.
   SSLContext properties now return flags and enums.
 
+- Issue #23591: Add Flag, IntFlag, and auto() to enum module.
+
 - Issue #433028: Added support of modifier spans in regular expressions.
 
 - Issue #24594: Validates persist parameter when opening MSI database

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


More information about the Python-checkins mailing list