diff options
author | Tim Peters <tim.peters@gmail.com> | 2003-07-13 17:21:10 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2003-07-13 17:21:10 (GMT) |
commit | 7a6c733c3b8ee131d7860ecb0877837e412c2959 (patch) | |
tree | e8b739adbbce23fcb1112d02d5580953d6f3b0a2 /Misc | |
parent | 4a4296ec2926dd65fe4aeb4a177445606e19ffce (diff) | |
download | cpython-7a6c733c3b8ee131d7860ecb0877837e412c2959.zip cpython-7a6c733c3b8ee131d7860ecb0877837e412c2959.tar.gz cpython-7a6c733c3b8ee131d7860ecb0877837e412c2959.tar.bz2 |
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.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -38,6 +38,9 @@ Extension modules Library ------- +- Closing a dumbdbm database more than once is now harmless (it used to + raise a nuisance exception on the second close). + - It's vital that a dumbdbm database be closed properly, else the on-disk data and directory files can be left in mutually inconsistent states. dumbdbm.py's _Database.__del__() method attempted to close |