[Python-checkins] python/dist/src/Misc NEWS,1.831.4.80,1.831.4.81

tim_one at users.sourceforge.net tim_one at users.sourceforge.net
Mon Dec 1 17:13:14 EST 2003


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

Modified Files:
      Tag: release23-maint
	NEWS 
Log Message:
Py_Finalize():  disabled the second call of cyclic gc, and added extensive
comments about why both calls to cyclic gc here can cause problems.

Already fixed on the trunk.  Since the calls were introduced in 2.3,
that's the end of it.


Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.831.4.80
retrieving revision 1.831.4.81
diff -C2 -d -r1.831.4.80 -r1.831.4.81
*** NEWS	1 Dec 2003 21:04:02 -0000	1.831.4.80
--- NEWS	1 Dec 2003 22:13:11 -0000	1.831.4.81
***************
*** 34,37 ****
--- 34,47 ----
    This has been repaired.
  
+ - At Python shutdown time (Py_Finalize()), 2.3 called cyclic garbage
+   collection twice, both before and after tearing down modules.  The
+   call after tearing down modules has been disabled, because too much
+   of Python has been torn down then for __del__ methods and weakref
+   callbacks to execute sanely.  The most common symptom was a sequence
+   of uninformative messages on stderr when Python shut down, produced
+   by threads trying to raise exceptions, but unable to report the nature
+   of their problems because too much of the sys module had already been
+   destroyed.
+ 
  - Patch #820195: object.__contains__() now returns True or False instead
    of 1 or 0.





More information about the Python-checkins mailing list