- Nov 13, 2010
-
-
Mike Bayer authored
'' write in the case of backslash-ended lines. [ticket:155]
-
Mike Bayer authored
is delayed until actually needed; this to remove the performance penalty from startup, particularly for "single execution" environments such as shell scripts. [ticket:153]
-
- Nov 12, 2010
-
-
Mike Bayer authored
setup.py instead of "install_requires". This to produce a lighter weight install for those who don't use the caching as well as to conform to Pyramid deployment practices. [ticket:154]
-
Mike Bayer authored
setup.py which prevented setup.py from running 2to3 on install. [ticket:148]
-
- Nov 10, 2010
-
-
Mike Bayer authored
are considered "undefined", meaning they are pulled from the context, has been trimmed back to not include variables declared inside of expressions (i.e. from list comprehensions), as well as in the argument list of lambdas. This to better support the strict_undefined feature.
-
Mike Bayer authored
strict_undefined=True, will cause variables not found in the context to raise a NameError immediately, instead of defaulting to the UNDEFINED value.
-
- Oct 20, 2010
-
-
Mike Bayer authored
This to support GAE which can't run markupsafe. [ticket:151] No idea whatsoever if the install_requires in setup.py also breaks GAE, couldn't get an answer on this.
-
- Aug 11, 2010
-
-
Mike Bayer authored
such as <%foo:bar x="${...}">, now allow multiline Python expressions.
-
- Jun 30, 2010
-
-
Mike Bayer authored
for the `file` argument, i.e. with ${}. The `context` variable, if needed, must be referenced explicitly. [ticket:141] - Fixed previously non-covered regular expression, such that using a ${} expression inside of a tag element that doesn't allow them raises a CompileException instead of silently failing.
-
- Jun 22, 2010
-
-
Mike Bayer authored
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.
-
Mike Bayer authored
exceptions.text_error_template which is not Py3k compatible. [ticket:137]
-
- May 31, 2010
-
-
Mike Bayer authored
such that if no traceback is passed and sys.exc_info() has been reset, the formatter just returns blank for the "traceback" portion. [ticket:135] - some long line cleanup
-
- Apr 28, 2010
-
-
Mike Bayer authored
where the source is stored temporarily is now made in the same directory as that of the .py file. This ensures that the two files share the same filesystem, thus avoiding cross-filesystem synchronization issues. Thanks to Charles Cazabon.
-
- Apr 17, 2010
-
-
Mike Bayer authored
line contains no line number, as in when inside an eval/exec-generated function. [ticket:132]
-
- Apr 13, 2010
-
-
Mike Bayer authored
template.last_modified
-
- Mar 24, 2010
-
-
Mike Bayer authored
exc.__class__.__name__ in html/text error templates when using Python 2.4 [ticket:131]
-
- Mar 11, 2010
-
-
Mike Bayer authored
template.get_def(...).render() now checks the argument signature the same way as it did in 0.2.5, so that TypeError is not raised. reopen of [ticket:116]
-
- Mar 07, 2010
-
-
Mike Bayer authored
[ticket:129]
-
- Mar 05, 2010
-
-
Mike Bayer authored
a given path that is a directory, not a filename, instead of passing through to the template to generate IOError. [ticket:73]
-
Mike Bayer authored
is passed only an absolute filename (i.e. with c: drive etc.) and no URI - the URI is converted to a forward-slash path and module_directory is treated as a windows path. [ticket:128]
-
Mike Bayer authored
uncommon feature, have been improved. The defs no longer get doubly-rendered in the body() scope, and now allow local variable assignment without breakage. [ticket:109]
-
Mike Bayer authored
inheriting template - the full set of render() arguments are passed down through the inherits chain. Undeclared arguments go into **pageargs as usual. [ticket:116]
-
Mike Bayer authored
% if: %endif, etc. [ticket:94] - finished cleanup for codegen.py, [ticket:98]
-
Mike Bayer authored
non-whitespace character on a line by escaping it as in "%%". [ticket:112]
-
Mike Bayer authored
text_error_template().render() now accept "error" and "traceback" as optional arguments, and these are now actually used. [ticket:122]
-
- Mar 04, 2010
-
-
Mike Bayer authored
- Python 3 support is added ! See README.py3k for installation and testing notes. [ticket:119]
-
- Mar 02, 2010
-
-
Mike Bayer authored
- Source code escaping has been simplified. In particular, module source files are now generated with the Python "magic encoding comment", and source code is passed through mostly unescaped, except for that code which is regenerated from parsed Python source. This fixes usage of unicode in <%namespace:defname> tags. [ticket:99]
-
- Feb 05, 2010
-
-
Mike Bayer authored
-
Mike Bayer authored
- start work on #98
-
- Jan 22, 2010
-
-
Philip Jenvey authored
html_error_template. fixes #88
-
- Nov 01, 2009
-
-
Philip Jenvey authored
cases
-
- Sep 22, 2009
-
-
Philip Jenvey authored
fixes #118
-
- Jun 28, 2009
-
-
Mike Bayer authored
the base module. [ticket:110]
-
- Apr 19, 2009
-
-
Mike Bayer authored
was causing tags to compile with case-insensitive names, thus messing up custom <%call> names. [ticket:108]
-
- Mar 20, 2009
-
-
Mike Bayer authored
to store templates, it uses the more permissive mode of 0775 instead of 0750, helping out with certain multi-process scenarios. Note that the mode is always subject to the restrictions of the existing umask. [ticket:101]
-
- Mar 19, 2009
-
-
Mike Bayer authored
AttributeError on attribute not found instead of RuntimeError. [ticket:104]
-
Mike Bayer authored
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.
-
- Feb 26, 2009
-
-
Mike Bayer authored
around '=' sign in defs. [ticket:102]
-
- Jan 13, 2009
-
-
Mike Bayer authored
returns the time.time() when the module was created. [ticket:97]
-
- Dec 06, 2008
-
-
Philip Jenvey authored
workarounds; its AST matches CPython's pretty closely
-