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 database
Changes by Jesús Cea Avión [EMAIL PROTECTED]:
--
nosy: +jcea
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2669
__
___
Python-bugs-list mailing list
Unsubscribe:
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 RuntimeError when