Subject: CVS commit: pkgsrc/devel/py-ZopeInterface
From: Adam Ciarcinski
Date: 2021-04-15 20:45:13
Message id: 20210415184513.955BBFA95@cvs.NetBSD.org

Log Message:
py-ZopeInterface: updated to 5.4.0

5.4.0 (2021-04-15)
==================

- Make the C implementation of the ``__providedBy__`` descriptor stop
  ignoring all errors raised when accessing the instance's
  ``__provides__``. Now it behaves like the Python version and only
  catches ``AttributeError``. The previous behaviour could lead to
  crashing the interpreter in cases of recursion and errors.

- Update the ``repr()`` and ``str()`` of various objects to be shorter
  and more informative. In many cases, the ``repr()`` is now something
  that can be evaluated to produce an equal object. For example, what
  was previously printed as ``<implementedBy builtins.list>`` is now
  shown as ``classImplements(list, IMutableSequence, IIterable)``.

- 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.

Files:
RevisionActionfile
1.37modifypkgsrc/devel/py-ZopeInterface/Makefile
1.26modifypkgsrc/devel/py-ZopeInterface/distinfo