summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-11-21 15:35:08 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2016-11-21 15:35:08 (GMT)
commitb44fb128ae5d9562f00a944e2d22392235073a69 (patch)
treea02c44010193373a6766920250f2bfbd1af03f21 /Misc/NEWS
parenta2f7ee8b26e00124c0587932364b26635af84c45 (diff)
downloadcpython-b44fb128ae5d9562f00a944e2d22392235073a69.zip
cpython-b44fb128ae5d9562f00a944e2d22392235073a69.tar.gz
cpython-b44fb128ae5d9562f00a944e2d22392235073a69.tar.bz2
Implement rich comparison for _sre.SRE_Pattern
Issue #28727: Regular expression patterns, _sre.SRE_Pattern objects created by re.compile(), become comparable (only x==y and x!=y operators). This change should fix the issue #18383: don't duplicate warning filters when the warnings module is reloaded (thing usually only done in unit tests).
Diffstat (limited to 'Misc/NEWS')
-rw-r--r--Misc/NEWS7
1 files changed, 6 insertions, 1 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 7ba6b42..ab846a6 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -42,6 +42,11 @@ Core and Builtins
Library
-------
+- Issue #28727: Regular expression patterns, _sre.SRE_Pattern objects created
+ by re.compile(), become comparable (only x==y and x!=y operators). This
+ change should fix the issue #18383: don't duplicate warning filters when the
+ warnings module is reloaded (thing usually only done in unit tests).
+
- Issue #20572: The subprocess.Popen.wait method's undocumented
endtime parameter now raises a DeprecationWarning.
@@ -77,7 +82,7 @@ Library
- Issue #28703: Fix asyncio.iscoroutinefunction to handle Mock objects.
-- Issue #28704: Fix create_unix_server to support Path-like objects
+- Issue #28704: Fix create_unix_server to support Path-like objects
(PEP 519).
- Issue #28720: Add collections.abc.AsyncGenerator.