[Zope3-dev] Too many dependencies in zope.decorator
Jim Fulton
jim at zope.com
Mon Aug 28 10:15:45 EDT 2006
On Aug 28, 2006, at 8:39 AM, Christian Theune wrote:
> Hi,
>
> Jim Fulton wrote:
>> On Aug 24, 2006, at 7:32 AM, Christian Theune wrote:
>>> Hi,
>>>
>>> ZODB with Blobs uses zope.proxy. Recently I discovered that due
>>> to a refactoring, the semantics of a proxy have significantly
>>> changed and a new concept of a "decorator" was born.
>> I don't know what you mean. The concept of decorator is not new
>> and I'm not aware that
>> zope.proxy was changed in any way recently to support it. The
>> only thing that changed
>> was that descriptors in proxies are treated a little differently.
>
> Well. I think we included zope.proxy on the original sprint, which
> is quite a while ago already, so the change might have happened in
> the last 18 months.
The concept of decorators is much older than that. zope.decorator
used to be zope.app.decorator.
...
> So, the todo list for this would be:
>
> - remove copies of descriptors from zope.app.container
> - move the DecoratorSpecificationDescriptoor to zope.interface
No, zope.proxy.
> - move the DecoratorSecuritycheckerDescriptor to zope.security
> - remove decorator base class
> - remove zope.decorator
>
> Each of the named steps requires a deprecation period.
Yup.
Jim
--
Jim Fulton mailto:jim at zope.com Python Powered!
CTO (540) 361-1714 http://www.python.org
Zope Corporation http://www.zope.com http://www.zope.org
More information about the Zope3-dev
mailing list