On 9/20/05, Tonico Strasser <[EMAIL PROTECTED]> wrote:
> Just for my understanding: would it be possible to dynamically create
> macros with strictinsert=True?:
>
> <div
> tal:repeat="name python: ('foo', 'bar', 'baz')"
> tal:replace="structure string:<div metal:define-macro='$name'/>"
> />
>
> *shudder*
That's a scary thought!
Actually, that probably executes just fine: it defines a macro,
nothing uses it (except possibly other things in the same bit of
dynamically generated text?), and then it's thrown away.
I'd certainly not expect it to pollute the outer environment.
-Fred
--
Fred L. Drake, Jr. <fdrake at gmail.com>
Zope Corporation
_______________________________________________
ZPT mailing list
[email protected]
http://mail.zope.org/mailman/listinfo/zpt