Mercurial > genshi > mirror
diff ChangeLog @ 806:c66c83861266 trunk
Fix for import statements in function defs in template code blocks (#276).
author | cmlenz |
---|---|
date | Fri, 06 Mar 2009 11:25:47 +0000 |
parents | f8ca33751678 |
children | 6e46513e1c5c |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -16,6 +16,9 @@ * `for` loops in template code blocks no longer establish their own locals scope, meaning you can now access variables assigned in the loop outside of the loop, just as you can in regular Python code (ticket #259). + * Import statements inside function definitions in template code blocks no + longer result in an UndefinedError when the imported name is accessed + (ticket #276). Version 0.5.1