Re: [Zope] Re: a question about aq_base

2006-11-30 Thread Chris Withers
Dieter Maurer wrote: For your use case above, I have therefore proposed an "hasattr_unacquired" standard function ages ago (the Zope tracker will show you when exactly). Here, the name explicitly spells out what the function is used for -- such that even a newbie can understand what is

Re: [Zope] Re: a question about aq_base

2006-11-29 Thread Dieter Maurer
Max M wrote at 2006-11-29 12:53 +0100: >Dieter Maurer skrev: >> Yuri wrote at 2006-11-28 14:23 +0100: >>> here: http://docs.neuroinf.de/programming-plone/ate we can read: >>> >>>obj = brain.getObject().aq_base >>> >>> why .aq_base and not only brain.getObject()? :) >> >> Usually, it is a b

[Zope] Re: a question about aq_base

2006-11-29 Thread Max M
Dieter Maurer skrev: Yuri wrote at 2006-11-28 14:23 +0100: here: http://docs.neuroinf.de/programming-plone/ate we can read: obj = brain.getObject().aq_base why .aq_base and not only brain.getObject()? :) Usually, it is a bad idea to use "aq_base" in Zope applications You should caref