Jim Fulton wrote:

> I would change it to just use getattr rather than hasattr.
> 
> try:
>     getattr(ob, name)
> except AttributeError:
>     return False
> ...

Given the controversy about our original proposal, I think I'll just
implement Jim's suggestion. I'll do so as soon as possible.

-- 
Thomas



_______________________________________________
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 )

Reply via email to