[Python-checkins] python/dist/src/Misc NEWS,1.831.4.87,1.831.4.88

fdrake at users.sourceforge.net fdrake at users.sourceforge.net
Thu Feb 5 23:14:44 EST 2004


Update of /cvsroot/python/python/dist/src/Misc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27554

Modified Files:
      Tag: release23-maint
	NEWS 
Log Message:
added notes about weakref changes


Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.831.4.87
retrieving revision 1.831.4.88
diff -C2 -d -r1.831.4.87 -r1.831.4.88
*** NEWS	19 Dec 2003 02:06:06 -0000	1.831.4.87
--- NEWS	6 Feb 2004 04:14:41 -0000	1.831.4.88
***************
*** 5,8 ****
--- 5,31 ----
  (editors: check NEWS.help for information about editing NEWS using ReST.)
  
+ What's New in Python 2.3.4 (final)?
+ ===================================
+ 
+ *Release date: DD-MMM-2004*
+ 
+ Core and builtins
+ -----------------
+ 
+ - Made omitted callback and None equivalent for weakref.ref() and
+   weakref.proxy(); the None case wasn't handled correctly in all
+   cases.
+ 
+ - Fixed problem where PyWeakref_NewRef() and PyWeakref_NewProxy()
+   assumed that initial existing entries in an object's weakref list
+   would not be removed while allocating a new weakref object.  Since
+   GC could be invoked at that time, however, that assumption was
+   invalid.  In a truly obscure case of GC being triggered during
+   creation for a new weakref object for an referent which already
+   has a weakref without a callback which is only referenced from
+   cyclic trash, a memory error can occur.  This consistently created a
+   segfault in a debug build, but provided less predictable behavior in
+   a release build.
+ 
  What's New in Python 2.3.3 (final)?
  ===================================




More information about the Python-checkins mailing list