[Zope] Weird ZCatalog issue...
chris at simplistix.co.uk
Mon Oct 30 18:20:40 EST 2006
Chris Withers wrote:
> Chris Withers wrote:
>> This ain't right, anyone else seen this or anything like it?
>> zopectl debug:
>> >>> len(app.some_catalog.unrestrictedSearchResults())
>> >>> i = 0
>> >>> for b in app.some_catalog.unrestrictedSearchResults():
>> .... i+=1
>> >>> i
> >>> len(tuple(app.some_catalog.unrestrictedSearchResults())
> Why is the lazy list of brains getting its length wrong?
Hmm, I was hoping for more response...
Oh well, filed in the collector:
Simplistix - Content Management, Zope & Python Consulting
More information about the Zope