[Zope3-checkins] Re: SVN: Zope3/branches/jim-adapter/src/zope/
Changed the way ILayer was deprecated to avoid spurious warning from
Jim Fulton
jim at zope.com
Sun Apr 23 12:23:26 EDT 2006
Philipp von Weitershausen wrote:
> Jim Fulton wrote:
...
>> 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.
I wasn't asking why it was there. I was asking why it wasn't marked as
deprecated. Shouldn't it be marked as deprecated so that people get
deprecation warnings if they try to use it?
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-Checkins
mailing list