Comment 6 for bug 502823

Revision history for this message
Cory Dodt (corydodt) wrote :

After reading through some of the Genshi doc, it doesn't look like there's any expectation that callable methods of the class will be called, since templates seem to always be invoked using kwargs to the Template.generate method. I had assumed you were doing something to be compatible with the Genshi philosophy or some specific high-level API. But I guess this ability to implicitly call callables is a txGenshi invention?

I vote that callables not be called; and that everything else be accessed through a proxy so that data attributes/properties are only dereferenced *if* used in the template.