[Zope3-dev] TALES PathExpr doesn't call old style classes

Dieter Maurer dieter at handshake.de
Tue May 23 16:48:50 EDT 2006


Dmitry Vasiliev wrote at 2006-5-23 17:06 +0400:
> ...
>PEP-3100 suggest "just call the object and catch the exception" instead of use 
>"callable()". So maybe we can write:
>
>try:
>     ob()
>except:
>     pass
>return ob
>
>Unfortunately exceptions still will be masked.

Yes, and therefore *NEVER* do this.


-- 
Dieter


More information about the Zope3-dev mailing list