15 Jan
2004
15 Jan
'04
3:45 p.m.
Dear all, the following DTML worked fine in Zope 2.6.2/Py 2.1.3: <dtml-var "[x for x in ['a','b']]"> 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