summaryrefslogtreecommitdiff
path: root/BUGS
diff options
context:
space:
mode:
authortavis_rudd <tavis_rudd>2005-05-18 06:59:15 +0000
committertavis_rudd <tavis_rudd>2005-05-18 06:59:15 +0000
commitf670ad2e83e784fbe015dc8f851102f935262e10 (patch)
tree6d7f7e96c3410b758018410151301998127d2f93 /BUGS
parentba724013556e0da0fa3c1339700ed867e7c6d621 (diff)
downloadpython-cheetah-f670ad2e83e784fbe015dc8f851102f935262e10.tar.gz
update
Diffstat (limited to 'BUGS')
-rw-r--r--BUGS27
1 files changed, 0 insertions, 27 deletions
diff --git a/BUGS b/BUGS
index ef110d2..aa5c5b2 100644
--- a/BUGS
+++ b/BUGS
@@ -5,33 +5,6 @@ See the file CHANGES for a list of bugs that have been resolved.
Developers: if a bug was significant and affected a released version of
Cheetah, be sure to note its fix in the CHANGES file!
-
-Clash between searchList and locally assigned variables
-=======================================================
-@@TR 2004-12-30: I'm about to checkin some changes that will fix this.
-
-On Saturday 31 January 2004 05:29, <psyche@mensa.org.pl> wrote:
- from Cheetah.Template import Template as tmpl
- print tmpl( \
- '''
- #if False
- #for $a in [1]:
- #end for
- #end if
-
- $a
- ''', searchList=[{'a': 3}])
-
- throws exception:
-
- Traceback (most recent call last):
- File "P:\python\cheetah\bug.py", line 16, in ?
- print t
- File "<string>", line 36, in respond
- UnboundLocalError: local variable 'a' referenced before assignment
-
- ...it shouldn't, right?
-
Compiler forgets commas
=======================
@@TR: This is not a bug. Python and Cheetah's syntax requires commas.