]> granicus.if.org Git - python/commit
Make close() identical to __del__() for a dumbdbm database. Make
authorTim Peters <tim.peters@gmail.com>
Sun, 13 Jul 2003 17:21:10 +0000 (17:21 +0000)
committerTim Peters <tim.peters@gmail.com>
Sun, 13 Jul 2003 17:21:10 +0000 (17:21 +0000)
commit7a6c733c3b8ee131d7860ecb0877837e412c2959
treee8b739adbbce23fcb1112d02d5580953d6f3b0a2
parent4a4296ec2926dd65fe4aeb4a177445606e19ffce
Make close() identical to __del__() for a dumbdbm database.  Make
closing idempotent (it used to raise a nuisance exception on the 2nd
close attempt).

Bugfix candidate?  Probably, but arguable.
Lib/dumbdbm.py
Lib/test/test_dumbdbm.py
Misc/NEWS