diff options
author | Jason Madden <jamadden@gmail.com> | 2021-04-01 06:59:59 -0500 |
---|---|---|
committer | Jason Madden <jamadden@gmail.com> | 2021-04-01 07:11:26 -0500 |
commit | eb542a8a75f93de7f1accbb448820c533bdb4ee3 (patch) | |
tree | 6f3ce310979aa71f945db961159eabff65413567 /CHANGES.rst | |
parent | 4a686fc8d87d398045dc44c1b6a97a2940121800 (diff) | |
download | zope-interface-eb542a8a75f93de7f1accbb448820c533bdb4ee3.tar.gz |
Make Declaration.__add__ try harder to produce consistent resolution orders.issue193
By moving things from the RHS to the front of the list if they already extend something from the LHS.
Fixes #193
Diffstat (limited to 'CHANGES.rst')
-rw-r--r-- | CHANGES.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/CHANGES.rst b/CHANGES.rst index 600fbb8..5b57ddb 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -12,6 +12,14 @@ shown as ``classImplements(list, IMutableSequence, IIterable)``. See `issue 236 <https://github.com/zopefoundation/zope.interface/issues/236>`_. +- Make ``Declaration.__add__`` (as in ``implementedBy(Cls) + + ISomething``) try harder to preserve a consistent resolution order + when the two arguments share overlapping pieces of the interface + inheritance hierarchy. Previously, the right hand side was always + put at the end of the resolution order, which could easily produce + invalid orders. See `issue 193 + <https://github.com/zopefoundation/zope.interface/issues/193>`_. + 5.3.0 (2020-03-21) ================== |