[ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Advanced Page Templates

webmaster@zope.org webmaster@zope.org
Thu, 26 Sep 2002 13:55:52 -0400


A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AdvZPT.stx#3-98

---------------

      A Page Template Python expression can contain anything that the
      Python language considers an expression.  You can't use
      statements such as 'if' and 'while'. In addition, Zope imposes
      some security restrictions to keep you from accessing protected
      information, changing secured data, and creating problems such
      as infinite loops. See Chapter Chapter 8, "Advanced Zope
      Scripting" for more information on Python security restrictions.

        % Anonymous User - June 25, 2002 4:03 pm:
         Might be useful to explain difference between expression and statement. And maybe make them italic, as they
         are special terms?

        % Anonymous User - Sep. 26, 2002 1:55 pm:
         /A Page Template Python expression/A Python expression in a Page Template/
         This whole book would be more usable w href'd glossary. The term "Python Expression" was used in this chapter
         long before being defined/explained. blf.