[ZPT] changing the order of operations

Fred L. Drake, Jr. fred at zope.com
Mon Jul 28 16:47:07 EDT 2003


Jamie Heilman wrote:
 > If the omit-tag expression evaluates to true, or is empty, the tag is
                                                  ^^^^^^^^^^^

Chris Withers writes:
 > This second bit is extremely bogus, wrong and just plain unpythonic :-(((((

TAL isn't Python; that's just how the spec is written.  Nor am I
convinced that it's not Pythonic in some sense.  (Think of omitted
keyword arguments in a call; the default behavior is defined in the
target of the call, not in the caller.)


  -Fred

-- 
Fred L. Drake, Jr.  <fred at zope.com>
PythonLabs at Zope Corporation



More information about the ZPT mailing list