[issue2669] bsddb iterkeys sliently fails when database modified during iteration

2008-05-25 Thread Gregory P. Smith
Gregory P. Smith <[EMAIL PROTECTED]> added the comment: Fixed in trunk r63617. Fix issue2669: bsddb simple/legacy interface iteration silently fails when database changes size during iteration. It now behaves like a dictionary, the next attempt to get a value from the iterator after the databas

[issue2669] bsddb iterkeys sliently fails when database modified during iteration

2008-04-25 Thread Jesús Cea Avión
Changes by Jesús Cea Avión <[EMAIL PROTECTED]>: -- nosy: +jcea __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe:

[issue2669] bsddb iterkeys sliently fails when database modified during iteration

2008-04-22 Thread Miki Tebeka
New submission from Miki Tebeka <[EMAIL PROTECTED]>: >>> db = bsddb.btopen("/tmp/n") >>> for i in range(5): db[str(i)] = None >>> db {'1': '', '0': '', '3': '', '2': '', '4': ''} >>> for k in db.iterkeys(): print k del db[k] 0 >>> The Python "dict" object raises a Runtim