[Zope3-checkins] Re: SVN: Zope3/branches/jim-adapter/src/zope/ Changed the way ILayer was deprecated to avoid spurious warning from

Philipp von Weitershausen philipp at weitershausen.de
Sun Apr 23 12:24:17 EDT 2006


Jim Fulton wrote:
> Log message for revision 67553:
>   Changed the way ILayer was deprecated to avoid spurious warning from
>   apidoc.

Having deferredimport make this indeed much nicer. Thanks.

>   Why isn't LayerField deprecated?

Because we need it for BBB for the time being. You currently still can 
define layers in ZCML without having a real interface backing it up. 
This is deprecated, of course, but it's still possible for BBB. ZCML 
needs to support these dynamically created layers, hence LayerField 
needs to stick around. It will be removed and replaced by a simple 
GlobalInterface field in Zope 3.5.

Philipp


More information about the Zope3-Checkins mailing list