Zope-interface

Latest version: v4.4.3

Safety actively analyzes 714919 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 8

3.6.5

------------------

- LP 811792: work around buggy behavior in some subclasses of
``zope.interface.interface.InterfaceClass``, which invoke ``__hash__``
before initializing ``__module__`` and ``__name__``. The workaround
returns a fixed constant hash in such cases, and issues a ``UserWarning``.

- LP 804832: Under PyPy, ``zope.interface`` should not build its C
extension. Also, prevent attempting to build it under Jython.

- Add a tox.ini for easier xplatform testing.

- Fix testing deprecation warnings issued when tested under Py3K.

3.6.4

------------------

- LP 804951: InterfaceClass instances were unhashable under Python 3.x.

3.6.3

------------------

- LP 570942: Now correctly compare interfaces from different modules but
with the same names.

3.6.2

------------------

- Moved detailed documentation out-of-line from PyPI page, linking instead to
http://docs.zope.org/zope.interface .

- Fixes for small issues when running tests under Python 3.2 using
``zope.testrunner``.

- LP 675064: Specify return value type for C optimizations module init
under Python 3: undeclared value caused warnings, and segfaults on some
64 bit architectures.

- setup.py now raises RuntimeError if you don't have Distutils installed when
running under Python 3.

3.6.1

------------------

- A non-ASCII character in the changelog made 3.6.0 uninstallable on
Python 3 systems with another default encoding than UTF-8.

- Fix compiler warnings under GCC 4.3.3.

3.6.0

------------------

- LP 185974: Clear the cache used by ``Specificaton.get`` inside
``Specification.changed``. Thanks to Jacob Holm for the patch.

- Add support for Python 3.1. Contributors:

Lennart Regebro
Martin v Loewis
Thomas Lotze
Wolfgang Schnerring

The 3.1 support is completely backwards compatible. However, the implements
syntax used under Python 2.X does not work under 3.X, since it depends on
how metaclasses are implemented and this has changed. Instead it now supports
a decorator syntax (also under Python 2.X)::

class Foo:
implements(IFoo)
...

can now also be written::

implementer(IFoo):
class Foo:
...

There are 2to3 fixers available to do this change automatically in the
zope.fixers package.

- Python 2.3 is no longer supported.

Page 5 of 8

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.