[Zope] Zope 2.7, Py 2.3.3 Problem with <dtml-var "[x for x in ['list', 'comprehension']]">

Gfeller Martin Martin.Gfeller at comit.ch
Thu Jan 15 10:45:42 EST 2004


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




More information about the Zope mailing list