Known Bugs in Cheetah
--------------------------
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
=======================================================
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
=======================
Affects Cheetah 0.9.14, CVS and possibly earlier.
- fix bug in Parser.getDefArgList() that is mucking up lists where the comma has
  been forgotten:

  > #cache timer='.5m' id='cache1'
  > This is a cached region.  $voom
  > #end cache
  > 
  > the error is:
  > 
  > "/local/opt/Python/lib/python2.2/site-packages/Webware/Cheetah/Compiler.py",
  > line 102, in genCacheInfoFromArgList
  >     val = self.genTimeInterval(val)
  >   File
  > "/local/opt/Python/lib/python2.2/site-packages/Webware/Cheetah/Compiler.py",
  > line 75, in genTimeInterval
  >     interval = float(timeString)*60
  > ValueError: invalid literal for float(): .5m' id'cache1
  > 
  > 
  > Running under pdb shows that Parser.getDefArgList() returned:
  > "30m' id'cache1" .


