<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7651.59">
<TITLE>Collector #2326 - LazyCat bug+fix</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>FYI, for those inclined to take a look, or anyone willing to apply a patch to ZCatalog.Lazy:<BR>
<BR>
<A HREF="http://www.zope.org/Collectors/Zope/2326">http://www.zope.org/Collectors/Zope/2326</A><BR>
<BR>
This bug affects svn HEAD, Zope 2.10.x, Zope 2.9.x.<BR>
<BR>
LazyCat.__repr__() calls __getitem__() in such a way that __add__() functionality is crippled (see collector issue) - causes AttributeError.&nbsp; The problem can be worked around in LazyCat.__init__(), which is what the diff/patch attached to the issue does (does hasattr() check and works around appropriately if lazcat doesn't have '_seq' attribute).<BR>
<BR>
Any comments/thoughts appreciated.&nbsp; If this looks good, can someone with commit abilities check this in?<BR>
<BR>
Thanks,<BR>
Sean<BR>
<BR>
<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>