30 Nov
2006
30 Nov
'06
10:13 a.m.
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 happening (which might not be the case with an "obj.aq_base" use).
Hey, you've got commit access now, there's nothing stopping you adding this ;-) cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk