From: Jonathan Ellis <jonathan@si...> - 2005-02-17 17:08:03
There are several references to saving a level of indentation in
http://spyce.sourceforge.net/doc-tag_new.html, for instance,
conditional: This flag indicates whether this tag may conditionally
control the execution of its body. If true, then the begin() method of
the tag must return true to process the tag body, or false to skip it.
If the flag is set to false, then return value of the begin() method is
ignored, and the body executed (unless an exception is triggered). Some
tags, such as the core:if tag, require this functionality, and will set
the flag true. Many other kinds of tags do not, thus saving a level of
indentation (which is unfortunately limited in Python -- hence the need
for this switch).
I don't understand the explanation. Is this referring to a limitation
of the braced-python that tags get turned into? I cannot find any other
references to this in the code or docs.