[ZPT] [BUG] something wrong with METAL (as bundled with Zope 2.5.1)

Evan Simpson evan@4-am.com
Thu, 08 Aug 2002 14:04:58 -0500


Dieter Maurer wrote:
 > Thus, I added a "print" in my "__getattr__" to learn what happens.
 > The result: my "__getattr__" is called for seconds with a single
 > name: the one I use in a
 > 'metal:use-macro="here/ThisOne/macros/Macro"'.

By this, do you mean it looks up 'ThisOne' repeatedly?  If you replace 
your print statement with an "import pdb; pdb.set_trace()", what is the 
calling context of the first few calls?

Cheers,

Evan @ 4-am