]> granicus.if.org Git - python/commit
Fix issue2669: bsddb simple/legacy interface iteration silently fails
authorGregory P. Smith <greg@mad-scientist.com>
Sun, 25 May 2008 08:28:29 +0000 (08:28 +0000)
committerGregory P. Smith <greg@mad-scientist.com>
Sun, 25 May 2008 08:28:29 +0000 (08:28 +0000)
commit9e6468be1dc6ab460a2b88af096aa62c2fe0ce44
tree7ed8a0f5251620a0b4f99cd33038fe46f2168fce
parente08e3d06864c5ad993f74613d9ed4ce69cc6cbc6
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 has changed size will raise a RuntimeError.
Lib/bsddb/__init__.py
Lib/test/test_bsddb.py