summaryrefslogtreecommitdiff
path: root/BUGS
diff options
context:
space:
mode:
authortavis_rudd <tavis_rudd>2004-12-30 14:51:52 +0000
committertavis_rudd <tavis_rudd>2004-12-30 14:51:52 +0000
commit97a69cebf5e3be4fcb1c213eb96589ba0d811ddb (patch)
treedb6ebf5fc7f0715f68a7cb94a1f74c0b95336a0d /BUGS
parent23306a356c602f5bf45ac99ec1e19c615edd8089 (diff)
downloadpython-cheetah-97a69cebf5e3be4fcb1c213eb96589ba0d811ddb.tar.gz
update
Diffstat (limited to 'BUGS')
-rw-r--r--BUGS50
1 files changed, 27 insertions, 23 deletions
diff --git a/BUGS b/BUGS
index 078404a..ef110d2 100644
--- a/BUGS
+++ b/BUGS
@@ -8,6 +8,8 @@ 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( \
@@ -32,27 +34,29 @@ On Saturday 31 January 2004 05:29, <psyche@mensa.org.pl> wrote:
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" .
-
+@@TR: This is not a bug. Python and Cheetah's syntax requires 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" .
+#