diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-11-21 15:35:08 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-11-21 15:35:08 (GMT) |
commit | b44fb128ae5d9562f00a944e2d22392235073a69 (patch) | |
tree | a02c44010193373a6766920250f2bfbd1af03f21 /Misc/NEWS | |
parent | a2f7ee8b26e00124c0587932364b26635af84c45 (diff) | |
download | cpython-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/NEWS | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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. |