Currently, if an attribute expression evaluates to any value that's
boolean False, it's omitted (e.g. 0, "", object()). I think that's
unexpected. Instead, attributes should only be omitted when the
expression evaluates to ``None``.

How do folks feel about changing this behavior in ``zope.pagetemplate``.

\malthe
_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to