[Zope3-checkins] SVN:
Zope3/trunk/src/zope/app/publisher/browser/configure.zcml
Allowed annotations on the BrowserRequest
Dmitry Vasiliev
lists at hlabs.spb.ru
Fri Nov 4 08:47:35 EST 2005
Stephan Richter wrote:
> On Thursday 03 November 2005 10:25, Dmitry Vasiliev wrote:
>> Benji York wrote:
>>> Dmitry Vasiliev wrote:
[SKIP]
>> So I can change ModifiableBrowserLanguages adapter to use the 'annotations'
>> attribute, but I really like if we will be use only one way to annotate.
>
> Since "annotations" is already there in 3.1, it will be easier to adjust the
> new code to this attribute instead of deprecating annotations and introducing
> __annotations__, unless Dimitry is willing to do that. :-)
I'll made new (based on the 'annotations' attribute) implementation for
ModifiableBrowserLanguages adapter in few days. Moreover I guess more specific
implementation (without adapter lookups and so on) will be even faster than the
old one (current implementation about 2 times slower than
zope.publisher.BrowserLanguages :-(.
--
Dmitry Vasiliev (dima at hlabs.spb.ru)
http://hlabs.spb.ru
More information about the Zope3-Checkins
mailing list