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

See https://tidelift.com/lifter/search/pypi/zope.interface Income Estimate currently: $100.00/month Any idea how to process this suggestion?

question

[PEP-0544][1] introduce `typing.Protocol` which allows defining an interface that can be validated on runtime. This is currently available via a non-official extension to the `typing` module called [typing-extensions][2]. Although it...

When compiling interfaces into shared objects, `zope` cannot resolve them correctly. For an SSCCE, the compiled example interface from https://docs.zope.org/zope.interface/README.html raises ``` python zope.interface.exceptions.InvalidInterface: Concrete attribute, name ``` I collected...

Over in https://github.com/zopefoundation/ZODB/issues/106, I describe how having persistent objects that implement custom `__eq__` and `__hash__` methods can be bad for perfomance. Unfortunately, that's not just a theoretical concern. One of...

## BUG/PROBLEM REPORT While running tests I noticed the following warning: ``` docstring of zope.interface.common.numbers.IReal.__trunc__:8: WARNING: Definition list ends without a blank line; unexpected unindent. ``` The same warning also...

https://github.com/plone/Products.CMFPlone/issues/3829 describes a case where the adapter factory lookup cache of `zope.interface` grows without limit causing severe memory problems. I found the cause: `plone.dexterity` uses `Implements` (instead of `Provides`) in...

enhancement

## BUG ### What I did: Imported zope.interface (through gevent). ### What I expect to happen: No warning. ### What actually happened: The method zope.interface uses to declare a namespace...

enhancement

When we look up for adapters: https://github.com/zopefoundation/zope.interface/blob/405017fef489ff9d517d0e86e6cb0e6a14fb9bd6/src/zope/interface/adapter.py#L818 We might have: 1. a closed connection 2. and a persistent adapter registry See: ``` (Pdb++) self._registry.ro[0] (Pdb++) self._registry.ro[0]._subscribers.__class__ ``` This causes the...

## BUG/PROBLEM REPORT / FEATURE REQUEST ### What I did: 1. Installed Python 3.13.0b1. 2. `tox -e py313` ### What I expect to happen: Tests passing :-). ### What actually...

Fixes #295 Update to an (unreleased) meta/config template that adds a publishing step for Windows wheels when git tags are set.