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 /Mac | |
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 'Mac')
0 files changed, 0 insertions, 0 deletions