+ [bug] legacy_html_escape function, used when
Markupsafe isn't installed, was using an inline-compiled
regexp which causes major slowdowns on Python 3.3;
is now precompiled.
+ [bug] AST supporting now supports tuple-packed
function arguments inside pure-python def
or lambda expressions.
+ [bug] Fixed Py3K bug in the Babel extension.
+ [bug] Fixed the "filter" attribute of the
<%text> tag so that it pulls locally specified
identifiers from the context the same
way as that of <%block> and <%filter>.
+ [bug] Fixed bug in plugin loader to correctly
raise exception when non-existent plugin
is specified.
- Changes from version 0.7.2:
+ [bug] Fixed regression in 0.7.1 where AST
parsing for Py2.4 was broken.
- Changes from version 0.7.1:
+ [feature] Control lines with no bodies will
now succeed, as "pass" is added for these
when no statements are otherwise present.
+ [bug] Fixed some long-broken scoping behavior
involving variables declared in defs and such,
which only became apparent when
the strict_undefined flag was turned on.
+ [bug] Can now use strict_undefined at the
same time args passed to def() are used
by other elements of the <%def> tag.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Mako?expand=0&rev=12
* Fixed bug regarding <%call>/def calls w/ content whereby the identity
of the "caller" callable inside the <%def> would be corrupted by the
presence of another <%call> in the same block. [ticket:170]
* Fixed the babel plugin to accommodate <%block> [ticket:169]
- Simpler spec file
- Update to 0.3.4
- Now using MarkupSafe for HTML escaping,
i.e. in place of cgi.escape(). Faster
C-based implementation and also escapes
single quotes for additional security.
Supports the __html__ attribute for
the given expression as well.
When using "disable_unicode" mode,
a pure Python HTML escaper function
is used which also quotes single quotes.
Note that Pylons by default doesn't
use Mako's filter - check your
environment.py file.
- Fixed call to "unicode.strip" in
exceptions.text_error_template which
is not Py3k compatible. [ticket:137]
- Update to 0.2.5
- Added a "decorator" kw argument to <%def>, allows custom decoration
functions to wrap rendering callables. Mainly intended for custom caching
algorithms, not sure what other uses there may be (but there may be).
Examples are in the "filtering" docs.
- When Mako creates subdirectories in which to store templates, it uses the
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Mako?expand=0&rev=1