[Zope-Checkins] CVS: Zope3/lib/python/Zope/TAL - DummyEngine.py:1.28.14.6

Fred L. Drake, Jr. fdrake@acm.org
Fri, 24 May 2002 11:50:55 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/TAL
In directory cvs.zope.org:/tmp/cvs-serv31855/lib/python/Zope/TAL

Modified Files:
      Tag: Zope-3x-branch
	DummyEngine.py 
Log Message:
Make the Python value for "default" evaluate as true in a Boolean context.

=== Zope3/lib/python/Zope/TAL/DummyEngine.py 1.28.14.5 => 1.28.14.6 ===
 from TALDefs import NAME_RE, TALESError, ErrorInfo
 
-Default = []
+Default = object()
 
 name_match = re.compile(r"(?s)(%s):(.*)\Z" % NAME_RE).match