The old "AttributeError: __call__" bug resurfaced with Python 2.1, but this
change is intended to solve it once and for all: there's now a "safe_callable" function, implemented both in cDocumentTemplate and pDocumentTemplate, that can more reliably check for callability. A surprising side effect is that DTML is about 15% faster with this change (according to a rudimentary test).
Showing
Please register or sign in to comment