[ZPT] why is default false?

Fred L. Drake, Jr. fdrake@acm.org
Thu, 23 May 2002 17:47:04 -0400


Does anyone remember why default is a false value?  It should be
possible to conditionally set an attribute using something like:

<td tal:repeat="ob python:mysequence">
  <span class="something"
        tal:attributes="class python: expr and default or nothing">
    ...
  </span>
</td>

I'm sure there was a specific reason for it to be false, but I sure
don't remember what, and can't find it in the old project Wiki.


  -Fred

-- 
Fred L. Drake, Jr.  <fdrake at acm.org>
PythonLabs at Zope Corporation