summaryrefslogtreecommitdiff
path: root/Misc
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2003-07-13 17:21:10 +0000
committerTim Peters <tim.peters@gmail.com>2003-07-13 17:21:10 +0000
commit11b06854f5157d525eabf5ca74fa4db19414c774 (patch)
treea5c845a83ff9d3a66bb50aff3503a2dd4d42a675 /Misc
parent5dbeedb52f99788f649e8375331f2698b91fe8f1 (diff)
downloadcpython-11b06854f5157d525eabf5ca74fa4db19414c774.tar.gz
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/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 0f329dfe3e..9b9b567101 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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