Philipp von Weitershausen wrote:
Hi there,
I've filed an issue in the collector outlining a problem with old style
classes and TALES traversal: http://www.zope.org/Collectors/Zope3-dev/635
In particular, I'm looking for comments on problem #2.
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.
--
Dmitry Vasiliev (dima at hlabs.spb.ru)
http://hlabs.spb.ru
_______________________________________________
Zope3-dev mailing list
[email protected]
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com