diff options
author | tavis_rudd <tavis_rudd> | 2006-06-22 00:03:39 +0000 |
---|---|---|
committer | tavis_rudd <tavis_rudd> | 2006-06-22 00:03:39 +0000 |
commit | ad5614b3daaced2bbf869aab58660b9b5eed0196 (patch) | |
tree | 6c7878a58578b012783bb48269381c0dd31b579a /CHANGES | |
parent | 81d70a4267b60fa91c83e6ea7ce763ef5771c499 (diff) | |
download | python-cheetah-ad5614b3daaced2bbf869aab58660b9b5eed0196.tar.gz |
update
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -7,6 +7,10 @@ release Core Changes: [TR] - extended the #implements directive so an arguments list can be declared in the same fashion as #def and #block. + + - made the parser raise ParseError when $*placeholder, $*5*placeholder, + $(placeholder), etc. are found within expressions. They are only valid in + top-level text. - tweaked the parser so it's possible to place a comment on the same line as a directive without needing to explicitly close the directive first. This @@ -33,6 +37,15 @@ release another directive will still work as expected: #if test##for i in range(10)# foo $i#end for##end if + - safer handling of the baseclass arg to Template.compile(). It now does + the right thing if the user passes in an instance rather than a class. + + ImportHooks: [TR] + - made it possible to specify a list of template filename extentions that are + looped through while searching for template modules. E.g.: + import Cheetah.ImportHooks + Cheetah.ImportHooks.install(templateFileExtensions=('.tmpl','.cheetah')) + Core changes by MO: - WebSafe and the other optional filters in Filters.py now use RawOrEncodedUnicode instead of Filter as a base class. This allows them |