From 00eacac96bb78e49e96a4477eb14b65619e3d041 Mon Sep 17 00:00:00 2001 From: Ethan Furman Date: Mon, 21 Nov 2016 08:28:56 -0800 Subject: closes issue23591: add NEWS entry --- Misc/NEWS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Misc/NEWS b/Misc/NEWS index ab846a6..a19a55f 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -730,6 +730,8 @@ Library - 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 -- cgit v0.12 From c88c80b716cecd0aea8467a41668dced9cafe3d5 Mon Sep 17 00:00:00 2001 From: Ethan Furman Date: Mon, 21 Nov 2016 08:29:31 -0800 Subject: closes issue28082: doc update and NEWS entry --- Doc/library/re.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Doc/library/re.rst b/Doc/library/re.rst index c9f2263..218bbf8 100644 --- a/Doc/library/re.rst +++ b/Doc/library/re.rst @@ -478,6 +478,9 @@ functions are simplified versions of the full featured methods for compiled 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) -- cgit v0.12