[ZCM] [ZC] 1186/ 1 Request "Stopped working in 2.7.B4: <dtml-var "[x for x in ['list', 'comprehension']]">"

Collector: Zope Bugs, Features, and Patches ... zope-coders-admin at zope.org
Fri Jan 16 04:09:06 EST 2004


Issue #1186 Update (Request) "Stopped working in 2.7.B4: <dtml-var "[x for x in ['list','comprehension']]">"
 Status Pending, Zope/bug medium
To followup, visit:
  http://zope.org/Collectors/Zope/1186

==============================================================
= Request - Entry #1 by mgf on Jan 16, 2004 4:09 am

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.

This may perhaps be a undesired side-effect of the security fixes made to 2.6.3/2.7.b4, although I couldn't test under 2.6.3.

Best regards,
Martin


==============================================================




More information about the Zope-Collector-Monitor mailing list