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
_______________________________________________
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to