[Zope3-dev] TALES PathExpr doesn't call old style classes
Dmitry Vasiliev
lists at hlabs.spb.ru
Tue May 23 09:06:40 EDT 2006
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
More information about the Zope3-dev
mailing list