﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc
428,UndefinedError in py:for,anonymous,cmlenz,"This is the code I'm running in the Python interpreter from the Documentation:
{{{
#!pycon
>>> from genshi.template import MarkupTemplate
>>> tmpl = MarkupTemplate('''<ul xmlns:py=""http://genshi.edgewall.org/"">
...   <li py:for=""item in items"">${item}</li>
... </ul>''')
>>> print(tmpl.generate(items=[1, 2, 3]))
<ul>
  <li>1</li><li>2</li><li>3</li>
</ul>
}}}
And I'm getting an !UndefinedError for the variable item. If I force lenient mode, the template simply does not evaluate. ",defect,reopened,major,,Template processing,devel,,python3  UndefinedError,
