Dear all, the following DTML worked fine in Zope 2.6.2/Py 2.1.3: <dtml-let v="[x for x in ['a','b']]"> <dtml-var v> </dtml-let> Under Zope 2.7.0-b4 (python 2.3.3, win32), it fails with a NameError name '_getiter_' is not defined. The example is a variation of some actual code, stripped down to just expose the actual problem - in reality, we do something sensible with 'x' :-). Any idea about the cause? Best regards, Martin Gfeller _______________________ COMIT Gruppe Risk Management Systems Pflanzschulstrasse 7 CH-8004 Zürich Telefon +41 (0) 1 298 92 84 http://www.comit.ch http://www.quantax.com - Quantax Trading and Risk System
Gfeller Martin wrote at 2004-1-15 16:40 +0100:
the following DTML worked fine in Zope 2.6.2/Py 2.1.3:
<dtml-let v="[x for x in ['a','b']]"> <dtml-var v> </dtml-let>
Under Zope 2.7.0-b4 (python 2.3.3, win32), it fails with a NameError name '_getiter_' is not defined.
Zope 2.6.3/Zope 2.7b4 have many problems. Do not use them for the time being. File a bug report to "http://www.zope.org/Collectors". -- Dieter
participants (2)
-
Dieter Maurer -
Gfeller Martin