[Python-checkins] python/dist/src/Misc NEWS,1.809,1.810

tim_one@users.sourceforge.net tim_one@users.sourceforge.net
Sat, 12 Jul 2003 19:22:06 -0700


Update of /cvsroot/python/python/dist/src/Misc
In directory sc8-pr-cvs1:/tmp/cvs-serv19323/Misc

Modified Files:
	NEWS 
Log Message:
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.


Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.809
retrieving revision 1.810
diff -C2 -d -r1.809 -r1.810
*** NEWS	6 Jul 2003 18:36:54 -0000	1.809
--- NEWS	13 Jul 2003 02:22:03 -0000	1.810
***************
*** 39,42 ****
--- 39,50 ----
  -------
  
+ - 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.