Jean Jordaan wrote at 2004-3-8 16:33 +0200:
>>> Surely the thing returned by a Catalog search should be immutable?
>> Nope, it is "lazy";  immutability would require "realizing" it first, 
>> which would be prohibitively expensive in many cases.
>Yes .. thing is, wrapping with list() or tuple() will therefore
>also be prohibitive in those cases,

When you want to uncatalog everything, "tuple"ing the result should
not be a problem.

Otherwise, a standard approach is to remember the objects you
want to delete in a standard list and iterate over this list
in a separate loop (outside the first one).


Zope-Dev maillist  -  [EMAIL PROTECTED]
**  No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to