[Zope] reserved words?

Dieter Maurer dieter at handshake.de
Mon May 31 13:49:43 EDT 2004

Mark Barratt wrote at 2004-5-31 13:10 +0100:
>Debugging a dtml page that won't save, found
><dtml-if expr="exec=='1'">checked</dtml-if>
>is the culprit.
>exec is a Python reserved word, I discover. Can I use it anyway through 
>some kind of escape notation in the expression,

"_['exec']" (for simple values) or "_.getitem('exec')" (for
callable objects that should not be called).


More information about the Zope mailing list