On Mon, 7 Jun 2004 07:46:41 +0200
Dieter Maurer <[EMAIL PROTECTED]> wrote:

[..]
> Meanwhile, the best way to access optional attributes seems to be
> 
>       if getattr(aq_base(obj), attrname, notFound) is not notFound:
>           attr = getattr(obj, attrname)
>         ...

Ahhh, the miracle of acqfuscation...

-Casey


_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
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 )

Reply via email to