Log message for revision 66362: Only use immutable i18n messages now. Changed: U Zope/branches/philikon-local-components/lib/python/TAL/TALInterpreter.py
-=- Modified: Zope/branches/philikon-local-components/lib/python/TAL/TALInterpreter.py =================================================================== --- Zope/branches/philikon-local-components/lib/python/TAL/TALInterpreter.py 2006-04-04 06:32:59 UTC (rev 66361) +++ Zope/branches/philikon-local-components/lib/python/TAL/TALInterpreter.py 2006-04-04 06:33:55 UTC (rev 66362) @@ -24,11 +24,7 @@ from DocumentTemplate.DT_Util import ustr from ZODB.POSException import ConflictError -# BBB 2005/10/10 -- MessageIDs are to be removed for Zope 3.3 -import zope.deprecation -zope.deprecation.__show__.off() -from zope.i18nmessageid import Message, MessageID -zope.deprecation.__show__.on() +from zope.i18nmessageid import Message from TALDefs import attrEscape, TAL_VERSION, METALError from TALDefs import isCurrentVersion @@ -36,8 +32,7 @@ from TALGenerator import TALGenerator from TranslationContext import TranslationContext -# This will become (MessageID, Message) when we use Zope 3.1 as a base: -I18nMessageTypes = Message, MessageID +I18nMessageTypes = (Message,) # TODO: In Python 2.4 we can use frozenset() instead of dict.fromkeys() BOOLEAN_HTML_ATTRS = dict.fromkeys([ _______________________________________________ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins