Chameleon v2.7.0 Release Notes
Release Date: 2011-12-13 // over 12 years ago-
๐ Features:
The
load:
expression now derives from the string expression such that the${...}
operator can be used for expression interpolation.The
load:
expression now accepts asset specs; these are resolved by thepkg_resources.resource_filename
function:::
An example from the test suite::
chameleon:tests/inputs/hello_world.pt
๐ Bugfixes:
- ๐ If an attribute name for translation was not a valid Python
identifier, the compiler would generate invalid code. This has been
fixed, and the compiler now also throws an exception if an attribute
specification contains a comma. (Note that the only valid separator
character is the semicolon, when specifying attributes for
translation via the
i18n:translate
statement). This addresses issue #76.