[Zope-dev] Re: Deprecating Zope 2 interfaces?
Chris Withers
chris at simplistix.co.uk
Wed Feb 22 06:01:49 EST 2006
yuppie wrote:
> Philipp von Weitershausen wrote:
>> I don't think it will make much sense to keep Zope 2 interfaces around
>> for more than one year from now. In other words, I'm suggesting to
>> deprecate them for Zope 2.10.
>
> +10
Me too ;-)
> 1.) WriteLock: Objects are only lockable if their class has
> WriteLockInterface in its __implements__ list.
>
> 2.) PluggableIndex: Indexes for ZCatalog have to be registered in
> Products.meta_types with PluggableIndexInterface.
>
> 3.) IFAwareObjectManager and the 'interfaces' argument of
> ObjectManager.all_meta_types: The mechanism used for pluggable indexes
> has a generic implementation in ObjectManager and can be used by any
> subclass of IFAwareObjectManager.
I think these can safely swapped... ie: no non-zope-core code actually
does anything with these interfaces...
cheers,
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
More information about the Zope-Dev
mailing list