Fixed a bug with the loop context of a for loop if the iterator passed has a volatile...
authorArmin Ronacher <armin.ronacher@active-4.com>
Fri, 4 Jul 2008 14:35:10 +0000 (16:35 +0200)
committerArmin Ronacher <armin.ronacher@active-4.com>
Fri, 4 Jul 2008 14:35:10 +0000 (16:35 +0200)
commit547d0b6cd9ad4e21b817bb80f27950bb9977ed33
tree319a6ec62cab41d1553e2fd40d74570489534d32
parentc670b1189f26f41f71eaa42c1270d8f1f1c1682e
Fixed a bug with the loop context of a for loop if the iterator passed has a volatile `__len__` like the listreverseiterator.  `else` in inline if-expressions is optional now.

--HG--
branch : trunk
CHANGES
jinja2/compiler.py
jinja2/nodes.py
jinja2/parser.py
jinja2/runtime.py
tests/test_forloop.py
tests/test_syntax.py