Mercurial > genshi > mirror
comparison 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 |
comparison
equal
deleted
inserted
replaced
803:f8ca33751678 | 806:c66c83861266 |
---|---|
14 * Fix problem with the transformation filter dropping events after the | 14 * Fix problem with the transformation filter dropping events after the |
15 selection (ticket #290). | 15 selection (ticket #290). |
16 * `for` loops in template code blocks no longer establish their own locals | 16 * `for` loops in template code blocks no longer establish their own locals |
17 scope, meaning you can now access variables assigned in the loop outside | 17 scope, meaning you can now access variables assigned in the loop outside |
18 of the loop, just as you can in regular Python code (ticket #259). | 18 of the loop, just as you can in regular Python code (ticket #259). |
19 * Import statements inside function definitions in template code blocks no | |
20 longer result in an UndefinedError when the imported name is accessed | |
21 (ticket #276). | |
19 | 22 |
20 | 23 |
21 Version 0.5.1 | 24 Version 0.5.1 |
22 http://svn.edgewall.org/repos/genshi/tags/0.5.1/ | 25 http://svn.edgewall.org/repos/genshi/tags/0.5.1/ |
23 (Jul 9 2008, from branches/stable/0.5.x) | 26 (Jul 9 2008, from branches/stable/0.5.x) |