[ZCM] [ZC] 1087/ 1 Request "Iterator problem"
Collector: Zope Bugs, Features,
and Patches ...
zope-coders-admin at zope.org
Tue Oct 21 05:58:21 EDT 2003
Issue #1087 Update (Request) "Iterator problem"
Status Pending, Zope/bug+solution medium
To followup, visit:
http://collector.zope.org/Zope/1087
==============================================================
= Request - Entry #1 by Anonymous User on Oct 21, 2003 5:58 am
This file in /lib/python/ZTUtils:
$Id: Iterator.py,v 1.9 2002/10/09 17:33:49 evan Exp $'''
__version__='$Revision: 1.9 $'[11:-2]
lacks support for 'length' attribute, so, ZPT syntax <span tal:content="repeat/item/length"> mentioned in Zope documentation becomes invalid and produces an error.
It can be solved with adding
def length(self):
return len(self.seq)
after 'last' attribute definition.
==============================================================
More information about the Zope-Collector-Monitor
mailing list