hi

i want to delete objects in my container, for that i do

for xx in container.keys():
  logging.info(xx)
  del container[xx]

but only every second obj is deleted, the loop touches objects in this order:
1,3,5,7,.....

if i remove the del statement from the upper example, the loop works as 
expected:
1,2,3,4,5,6...

i also looked at zope.app.container.container.browser.contents.py to see how
deletion is handled there. nothing special found.

i´m a bit confused, please help :)

tnx
Dominique
_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to