Is it safe to delete instances while iterating over the contents of an
ObjectManager instance, as in:
for item in folder.objectValues():
if some_condition:
folder.manage_delObjects(item.getId())
break
do_something(item)
Thanks,
John Hunter