Is this a bug in kid or just I'm trying to do something it's not supposed to do

        <li py:for="" in locals().items()">
            <span>${val}</span>
        </li>

All I want is a generic way to get *all* my variables out, I want this so I can develop a "test" template that will later be replace with the real template.

---------my full template-------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://purl.org/kid/ns#"
    py:extends="'master.kid'">

<head>
    <meta content="text/html; charset=UTF-8" http-equiv="content-type" py:replace="''"/>
    <title>Welcome to TurboGears</title>
</head>
<body>
        <li py:for="" in locals().items()">
            <span>${val}</span>
        </li>
</body>
</html>
----------------------------------------------------
  File "c:\python24\lib\site-packages\kid-0.9.1-py2.4.egg\kid\pull.py", line 154, in _pull
for event in self._pull(child, tail=1):
File "c:\python24\lib\site-packages\kid- 0.9.1-py2.4.egg\kid\pull.py", line 154, in _pull
for event in self._pull(child, tail=1):
File "c:\python24\lib\site-packages\kid-0.9.1-py2.4.egg\kid\pull.py", line 154, in _pull
for event in self._pull(child, tail=1):
File "c:\python24\lib\site-packages\kid-0.9.1-py2.4.egg\kid\pull.py", line 147, in _pull
if elem.tag in (Comment, ProcessingInstruction):
RuntimeError: maximum recursion depth exceeded in cmp

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
kid-template-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kid-template-discuss

Reply via email to