Mercurial > genshi > mirror
diff ChangeLog @ 418:c478a6fa9e77 trunk
Make expression error handling more strict. Closes #88.
author | cmlenz |
---|---|
date | Fri, 16 Mar 2007 08:58:54 +0000 |
parents | 7d158f8f48ad |
children | 406915754870 |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -42,6 +42,11 @@ `Attrs` objects (for example, stream filters and generators). * Python code blocks are now supported using the `<?python ?>` processing instruction (ticket #84). + * Runtime error handling in template expressions has become more strict + (ticket #88). Where you previously could access undefined variables or + members, you now get an exception. If a variable is not necessarily defined + at the top level of the template data, the new built-in functions + `defined(name)` and `value_of(name, default)` need to be used. Version 0.3.6