[Zope-dev] [] vs () in dtml-in: is this a bug ?

Stefane Fermigier sf@fermigier.com
Sun, 22 Apr 2001 12:13:53 +0200


Hi,

please try this as a DTML Method:

<dtml-let l=3D"[[1, 2], [3, 4]]">
<dtml-in l>
  <dtml-var "_['sequence-item']"><br>
</dtml-in>
</dtml-let>
	=20
<dtml-let l=3D"[(1, 2), (3, 4)]">
<dtml-in l>
  <dtml-var "_['sequence-item']"><br>
</dtml-in>
</dtml-let>

Why should the two results differ ?

	S.

--=20
St=E9fane Fermigier, Tel: 06 63 04 12 77 (mobile).
http://nuxeo.com/ & http://portalux.com/ & http://aful.org/
"Amazon: we patent the dot in .com"