On 4/26/06, Chris Withers <[EMAIL PROTECTED]> wrote: > Lennart Regebro wrote: > > I also recommend that we deprecate both __bobo_traverse__ and > > __browser_default__, but perhaps with a longer derecation period that > > usual, since this are very basic techniques used in many products. > > Please discuss. :) > > -1 - what's wrong with having the default adapter around "forever" for > Zope 2?
It's ugly? :) Or rather, having the default adapter around forever is a definite yes. Because it does attribute and key look up as well. But the code could be simplified. HOWEVER, I'm not gonna have time to remove all uses of __browser_default__ and __bobo_traverse__, so we don't have to discuss it more closely for months, because it won't be deprecated in 2.10 in any case. ;) -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org/ _______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )