directlyProvidedBy and friends don't work on ContainedProxy
Bug #185487 reported by
Jacob Holm
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope 3 |
Won't Fix
|
Undecided
|
Unassigned | ||
zope.container |
Invalid
|
Medium
|
Unassigned |
Bug Description
Calling zope.interface.
This causes zope.interface.
(alsoProvides becomes identical to directlyProvides and noLongerProvides clears all directly provided interfaces).
I have found the problem (the __get__ method of ContainedProxyC
(This bug is completely unrelated to https:/
Changed in zope3: | |
status: | New → Won't Fix |
tags: | added: bugday20100424 |
To post a comment you must log in.
I have changed ContainedProxyC lassProvides to inherit directly from Declaration instead of from ClassProvides.
This way we avoid creating the _implements attribute which is not useful in the context of ContainedProxies, because we must delegate to the proxied object.
Note that I *do* have commit privileges, so I can apply the patch myself if need be. However, I don't know the current procedure for making a release. Pointers are welcome.