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

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


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

Modified Files:
      Tag: fdrake-tal-i18n-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.3 => 1.28.14.3.4.1 ===
 from TALDefs import NAME_RE, TALESError, ErrorInfo
 
-Default = []
+Default = object()
 
 name_match = re.compile(r"(?s)(%s):(.*)\Z" % NAME_RE).match