Mercurial > genshi > genshi-test
comparison ChangeLog @ 806:9871e6ca89b0
Fix for import statements in function defs in template code blocks (#276).
author | cmlenz |
---|---|
date | Fri, 06 Mar 2009 11:25:47 +0000 |
parents | 92b9b647e1fe |
children | e1c6163c5077 |
comparison
equal
deleted
inserted
replaced
803:92b9b647e1fe | 806:9871e6ca89b0 |
---|---|
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) |