Skip to main content
Release files added late

4 files were added to this release more than 14 days after its initial publication. Inspect the release files before installing.

zope.interface README

This package is intended to be independently reusable in any Python project. It is maintained by the Zope Toolkit project.

This package provides an implementation of “object interfaces” for Python. Interfaces are a mechanism for labeling objects as conforming to a given API or contract. So, this package can be considered as implementation of the Design By Contract methodology support in Python.

For detailed documentation, please see http://docs.zope.org/zope.interface

zope.interface Changelog

3.8.0 (2011-09-22)

  • New module zope.interface.registry. This is code moved from zope.component.registry which implements a basic nonperistent component registry as zope.interface.registry.Components. This class was moved from zope.component to make porting systems (such as Pyramid) that rely only on a basic component registry to Python 3 possible without needing to port the entirety of the zope.component package. Backwards compatibility import shims have been left behind in zope.component, so this change will not break any existing code.

  • New tests_require dependency: zope.event to test events sent by Components implementation. The zope.interface package does not have a hard dependency on zope.event, but if zope.event is importable, it will send component registration events when methods of an instance of zope.interface.registry.Components are called.

  • New interfaces added to support zope.interface.registry.Components addition: ComponentLookupError, Invalid, IObjectEvent, ObjectEvent, IComponentLookup, IRegistration, IUtilityRegistration, IAdapterRegistration, ISubscriptionAdapterRegistration, IHandlerRegistration, IRegistrationEvent, RegistrationEvent, IRegistered, Registered, IUnregistered, Unregistered, IComponentRegistry, and IComponents.

  • No longer Python 2.4 compatible (tested under 2.5, 2.6, 2.7, and 3.2).

3.7.0 (2011-08-13)

  • Move changes from 3.6.2 - 3.6.5 to a new 3.7.x release line.

3.6.7 (2011-08-20)

  • Fix sporadic failures on x86-64 platforms in tests of rich comparisons of interfaces.

3.6.6 (2011-08-13)

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

    N.B.: This is a less intrusive / destabilizing fix than the one applied in 3.6.3: we only fix the underlying cmp-alike function, rather than adding the other “rich comparison” functions.

  • Revert to software as released with 3.6.1 for “stable” 3.6 release branch.

3.6.5 (2011-08-11)

  • 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 (2011-07-04)

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

3.6.3 (2011-05-26)

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

3.6.2 (2011-05-17)

  • 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 (2010-05-03)

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

  • Fixed compiler warnings under GCC 4.3.3.

3.6.0 (2010-04-29)

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

  • Added 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:

    @implementor(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.

3.5.4 (2009-12-23)

  • Use the standard Python doctest module instead of zope.testing.doctest, which has been deprecated.

3.5.3 (2009-12-08)

3.5.2 (2009-07-01)

  • BaseAdapterRegistry.unregister, unsubscribe: Remove empty portions of the data structures when something is removed. This avoids leaving references to global objects (interfaces) that may be slated for removal from the calling application.

3.5.1 (2009-03-18)

  • verifyObject: use getattr instead of hasattr to test for object attributes in order to let exceptions other than AttributeError raised by properties propagate to the caller

  • Add Sphinx-based documentation building to the package buildout configuration. Use the bin/docs command after buildout.

  • Improve package description a bit. Unify changelog entries formatting.

  • Change package’s mailing list address to zope-dev at zope.org as zope3-dev at zope.org is now retired.

3.5.0 (2008-10-26)

  • Fixed declaration of _zope_interface_coptimizations, it’s not a top level package.

  • Add a DocTestSuite for odd.py module, so their tests are run.

  • Allow to bootstrap on Jython.

  • Fix https://bugs.launchpad.net/zope3/3.3/+bug/98388: ISpecification was missing a declaration for __iro__.

  • Added optional code optimizations support, which allows the building of C code optimizations to fail (Jython).

  • Replaced _flatten with a non-recursive implementation, effectively making it 3x faster.

3.4.1 (2007-10-02)

  • Fixed a setup bug that prevented installation from source on systems without setuptools.

3.4.0 (2007-07-19)

  • Final release for 3.4.0.

3.4.0b3 (2007-05-22)

  • Objects with picky custom comparison methods couldn’t be added to component registries. Now, when checking whether an object is already registered, identity comparison is used.

3.3.0.1 (2007-01-03)

  • Made a reference to OverflowWarning, which disappeared in Python 2.5, conditional.

3.3.0 (2007/01/03)

New Features

  • The adapter-lookup algorithim was refactored to make it much simpler and faster.

    Also, more of the adapter-lookup logic is implemented in C, making debugging of application code easier, since there is less infrastructre code to step through.

  • We now treat objects without interface declarations as if they declared that they provide zope.interface.Interface.

  • There are a number of richer new adapter-registration interfaces that provide greater control and introspection.

  • Added a new interface decorator to zope.interface that allows the setting of tagged values on an interface at definition time (see zope.interface.taggedValue).

Bug Fixes

  • A bug in multi-adapter lookup sometimes caused incorrect adapters to be returned.

3.2.0.2 (2006-04-15)

  • Fix packaging bug: ‘package_dir’ must be a relative path.

3.2.0.1 (2006-04-14)

  • Packaging change: suppress inclusion of ‘setup.cfg’ in ‘sdist’ builds.

3.2.0 (2006-01-05)

  • Corresponds to the verison of the zope.interface package shipped as part of the Zope 3.2.0 release.

3.1.0 (2005-10-03)

  • Corresponds to the verison of the zope.interface package shipped as part of the Zope 3.1.0 release.

  • Made attribute resolution order consistent with component lookup order, i.e. new-style class MRO semantics.

  • Deprecated ‘isImplementedBy’ and ‘isImplementedByInstancesOf’ APIs in favor of ‘implementedBy’ and ‘providedBy’.

3.0.1 (2005-07-27)

  • Corresponds to the verison of the zope.interface package shipped as part of the Zope X3.0.1 release.

  • Fixed a bug reported by James Knight, which caused adapter registries to fail occasionally to reflect declaration changes.

3.0.0 (2004-11-07)

  • Corresponds to the verison of the zope.interface package shipped as part of the Zope X3.0.0 release.

Metadata

Release files for zope.interface 3.8.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Files added late

4 files were uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release files before installing.

Source distribution (sdist)

Source distribution for zope.interface 3.8.0
File Size Uploaded Provenance Actions
zope.interface-3.8.0.tar.gz 111.5 kB Without provenance Details for zope.interface-3.8.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for zope.interface 3.8.0
File Actions
zope.interface-3.8.0.win-amd64-py2.7.exe Details for zope.interface-3.8.0.win-amd64-py2.7.exe
zope.interface-3.8.0.win-amd64-py2.6.exe Details for zope.interface-3.8.0.win-amd64-py2.6.exe
zope.interface-3.8.0.win32-py2.7.exe Details for zope.interface-3.8.0.win32-py2.7.exe
zope.interface-3.8.0.win32-py2.6.exe Details for zope.interface-3.8.0.win32-py2.6.exe
zope.interface-3.8.0-py2.7-win-amd64.egg Legacy Egg format - - Details for zope.interface-3.8.0-py2.7-win-amd64.egg
zope.interface-3.8.0-py2.7-win32.egg Legacy Egg format - - Details for zope.interface-3.8.0-py2.7-win32.egg
zope.interface-3.8.0-py2.6-win-amd64.egg Legacy Egg format - - Details for zope.interface-3.8.0-py2.6-win-amd64.egg
zope.interface-3.8.0-py2.6-win32.egg Legacy Egg format - - Details for zope.interface-3.8.0-py2.6-win32.egg
zope.interface-3.8.0-py2.5-win32.egg Legacy Egg format - - Details for zope.interface-3.8.0-py2.5-win32.egg
zope.interface-3.8.0-py2.4-win32.egg Legacy Egg format - - Details for zope.interface-3.8.0-py2.4-win32.egg

Total release size: 3.0 MB

Release files / zope.interface-3.8.0.tar.gz

Download URL zope.interface-3.8.0.tar.gz
Size 111.5 kB
Tags Source
SHA-256 checksum
How to use checksums
1d5411ff82fd3a73bad6efb38deddb3f98d61d590344deb0cdd308e8aa94d3ff
BLAKE2b-256 checksum
How to use checksums
a98dcea179e663f9656f07d09b0b181299a2d8949fb6491ce3c5bc923ca9dd9f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / zope.interface-3.8.0.win-amd64-py2.7.exe

File added late

This file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release file before installing.

Download URL zope.interface-3.8.0.win-amd64-py2.7.exe
Size 372.3 kB
Tags Source
SHA-256 checksum
How to use checksums
1fe39489daa0908c979e644724d99d87a781806c3572e9166bc96007f495e8c9
BLAKE2b-256 checksum
How to use checksums
eb859414a59d3ec88d9fedc8cfb06236860544398628ed24913ca13225f5823f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / zope.interface-3.8.0.win-amd64-py2.6.exe

File added late

This file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release file before installing.

Download URL zope.interface-3.8.0.win-amd64-py2.6.exe
Size 372.3 kB
Tags Source
SHA-256 checksum
How to use checksums
1a3a51f79ab7935250690ecc251fb3f375627f51d1a39dff05e4af6bdf341eff
BLAKE2b-256 checksum
How to use checksums
651d636ea68f76bcfb54ea912d8fb49a4b7d328921452c96b53c5aa9d63fa174
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / zope.interface-3.8.0.win32-py2.7.exe

File added late

This file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release file before installing.

Download URL zope.interface-3.8.0.win32-py2.7.exe
Size 344.0 kB
Tags Source
SHA-256 checksum
How to use checksums
5ab489f324aab90b01bce2198b2df1dfacc34b7a9ca4b098ea2e6bf4d06bc65c
BLAKE2b-256 checksum
How to use checksums
a3ebd847b6176e9a0b24022a8630acf279cad32c1d8e5c4e526c48e5fb757651
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / zope.interface-3.8.0.win32-py2.6.exe

File added late

This file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release file before installing.

Download URL zope.interface-3.8.0.win32-py2.6.exe
Size 344.0 kB
Tags Source
SHA-256 checksum
How to use checksums
30cc59370007e4551aab4c34dc631d39122121fe37d9049142ae8f244146dbb0
BLAKE2b-256 checksum
How to use checksums
0ad499209cc1b27e7047b0ab36c4d71e6d249a5953402fa1bf70c0272b532f04
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / zope.interface-3.8.0-py2.7-win-amd64.egg

Download URL zope.interface-3.8.0-py2.7-win-amd64.egg
Size 244.0 kB
Tags Egg
SHA-256 checksum
How to use checksums
d6afdc5f6351c878e35b4c491ee566ab62f8de87316fea4f94439733199fcd07
BLAKE2b-256 checksum
How to use checksums
b73666d0fed4f308904abe6c8e5cc9d623c62588ff60fd667f7fc41390139d14
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / zope.interface-3.8.0-py2.7-win32.egg

Download URL zope.interface-3.8.0-py2.7-win32.egg
Size 243.1 kB
Tags Egg
SHA-256 checksum
How to use checksums
1ac3abc4da3a35ebbf7b3d9bd2af17593205e4bb1112d8d5a8e4e26c0a7b7e14
BLAKE2b-256 checksum
How to use checksums
6904c9a7c0ccd674f5c38991d655d7ed59c39c31cee40fef5d5428497f3893f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / zope.interface-3.8.0-py2.6-win-amd64.egg

Download URL zope.interface-3.8.0-py2.6-win-amd64.egg
Size 244.6 kB
Tags Egg
SHA-256 checksum
How to use checksums
94a41fec8f2801a2184e6066268ef914fb21e0490b0623a5907d452dd9b11b99
BLAKE2b-256 checksum
How to use checksums
26863032ee81e4b89b709704596f680bbdb6e52cfe29a0fe4fe2158b57128c73
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / zope.interface-3.8.0-py2.6-win32.egg

Download URL zope.interface-3.8.0-py2.6-win32.egg
Size 243.7 kB
Tags Egg
SHA-256 checksum
How to use checksums
8d154fb4938c6784c9dba7857e537be65ab70034b46fdf0604fa5ae531fd7841
BLAKE2b-256 checksum
How to use checksums
646c0e2e0e8cb6abc74203dc2862d17e3a074c4d45663c8b00930758c7e0de41
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / zope.interface-3.8.0-py2.5-win32.egg

Download URL zope.interface-3.8.0-py2.5-win32.egg
Size 243.1 kB
Tags Egg
SHA-256 checksum
How to use checksums
8886c61d1b7fe26d9db79d8abb53cd40a0b01d33f8daca5d5e2937ddcd133553
BLAKE2b-256 checksum
How to use checksums
449cb8cd8d5837122a204838aaf8204f5c54fb5955a1c886d856a14801ef4638
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / zope.interface-3.8.0-py2.4-win32.egg

Download URL zope.interface-3.8.0-py2.4-win32.egg
Size 239.1 kB
Tags Egg
SHA-256 checksum
How to use checksums
6ee507df5f2efdb9c0b8c75bf6df2255682095194007308219838c4c575523e6
BLAKE2b-256 checksum
How to use checksums
aa9e34d2b0908ccd26aa13517153c70b4c6d6edefb0c5a5e84f83e5f09660fe5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for zope.interface 3.8.0

Upload timing

Release files added late

4 files were uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.


Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

3.8.0 This release

11 release files No provenance

3.0.0b1

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page