Iterating over ZCatalog produces different no. of results than indicated by len() of result set
Bug #143819 reported by
ChrisW
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope 2 |
Invalid
|
Medium
|
Unassigned |
Bug Description
This ain't right:
zopectl debug:
>>> len(app.
2937144
>>> i = 0
>>> for b in app.some_
... i+=1
...
>>> i
821165
Also:
>>> len(tuple(
821165
Why is the lazy list of brains getting its length wrong?
To post a comment you must log in.
Without a set of test data exposing this behavior, there's little we can do.