zope.interface icon indicating copy to clipboard operation
zope.interface copied to clipboard

Interfaces for Python

Results 21 zope.interface issues
Sort by recently updated
recently updated
newest added

## BUG/PROBLEM REPORT (OR OTHER COMMON ISSUE) On latest master, linux. Basically I'm setting a base's to a base that has registrations. `comp.getUtilitiesFor` is expected to return all registrations, but...

## BUG/PROBLEM REPORT (OR OTHER COMMON ISSUE) ### What I did: In a Plone addon, I registered a subscriber: ```xml ``` ### What I expect to happen: I would like...

question

## BUG/PROBLEM REPORT (OR OTHER COMMON ISSUE) The zope.interface installation would use the latest setuptools , that's not good, because the latest setuptools can't work with python 2.7 . Could...

question

Python 3; zope.interface==5.1.2 ```pycon >>> from zope.interface import Interface >>> from inspect import getmembers >>> getmembers(type(Interface)) Traceback (most recent call last): File "", line 1, in File "/usr/lib/python3.6/inspect.py", line 342,...

bug

(Taken from https://github.com/zopefoundation/zope.interface/issues/199#issuecomment-610948903) #203 lets most of zopetoolkit's tests run in STRICT_IRO mode. There are a few exceptions: - ZODB's FileStorage redundantly declares multiple implemented interfaces. The fix is easy:...

We use zope.interface and the ZCA almost on every new project we start. The only peace we miss, it's being able to subscribe to async event handlers. We already do...

Hi! I noticed that zope.interface.verify* are not verifying argument names. It appears that https://github.com/zopefoundation/zope.interface/blob/master/src/zope/interface/verify.py#L108-L111 is commented out, but I can't find why in the history. Is there a reason why...

question

In https://bugs.launchpad.net/zope.interface/+bug/675424, Christian Zagrodnik reported: > When for instance declaring a factory `classProvides` is handy at times: ```pycon >>> import zope.interface >>> import zope.interface.verify >>> >>> class IFoo(zope.interface.Interface): ... def...

bug

In https://bugs.launchpad.net/zope.interface/+bug/113672, @faassen reported > We know you're not supposed to pass a stirng into zope.interface.implements, but try the following: ``` >>> from zope.interface import implements >>> class Foo(object): ......

bug

Given the following: ```python class IFoo(zope.interface.Interface): def bar(lorem="ipsum", alice=42): """ ... """ @zope.interface.implementer(IFoo) class Foo(): def bar(self, x=666, y=99): return x + y ``` I would have expected verification to...