Chameleon v2.6.2 Release Notes
Release Date: 2011-12-08 // over 12 years ago-
๐ Bugfixes:
๐ Fixed issue where
tal:on-error
would not respecttal:omit-tag
or namespace elements which are omitted by default (such as<tal:block />
).๐ Fixed issue where
macros
attribute would not be available on file-based templates due to incorrect initialization.The
TryExcept
andTryFinally
AST nodes are not available on Python 3.3. These have been aliased toTry
. This fixes issue75.
๐ Features:
๐ The TAL repeat item now makes a security declaration that grants access to unprotected subobjects on the Zope 2 platform::
allow_access_to_unprotected_subobjects = True
This is required for legacy compatibility and does not affect other environments.
The template object now has a method
write(body)
which explicitly decodes and cooks a string input.โ Added configuration option
loader_class
which sets the class used to create the template loader object.
The class (essentially a callable) is created at template construction time.