summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2003-07-13 02:22:03 (GMT)
committerTim Peters <tim.peters@gmail.com>2003-07-13 02:22:03 (GMT)
commitd7472ec13a65c6c5ff00365b1477677d1fecbb3c (patch)
tree7a434cc551919130aa58974926588035e20d0c59 /Misc/NEWS
parent5c5fca9844a5aa7b56ca45fe324491cb2b43a7cd (diff)
downloadcpython-d7472ec13a65c6c5ff00365b1477677d1fecbb3c.zip
cpython-d7472ec13a65c6c5ff00365b1477677d1fecbb3c.tar.gz
cpython-d7472ec13a65c6c5ff00365b1477677d1fecbb3c.tar.bz2
Fixed critical shutdown race in _Database._commit.
Related to SF patch 723231 (which pointed out the problem, but didn't fix it, just shut up the warning msg -- which was pointing out a dead- serious bug!). Bugfix candidate.
Diffstat (limited to 'Misc/NEWS')
-rw-r--r--Misc/NEWS8
1 files changed, 8 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index b793a73..1098ad3 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -38,6 +38,14 @@ Extension modules
Library
-------
+- 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
+ the database properly, but a shutdown race in _Database._commit()
+ could prevent this form working, so that a program trusting __del__()
+ to get the on-disk files in synch could be badly surprised. The race
+ has been repaired.
+
- The classes in threading.py are now new-style classes. That they
weren't before was an oversight.