From f670ad2e83e784fbe015dc8f851102f935262e10 Mon Sep 17 00:00:00 2001 From: tavis_rudd Date: Wed, 18 May 2005 06:59:15 +0000 Subject: update --- BUGS | 27 --------------------------- 1 file changed, 27 deletions(-) (limited to 'BUGS') 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, 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 "", 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. -- cgit v1.2.1