summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2003-12-01 21:35:27 (GMT)
committerTim Peters <tim.peters@gmail.com>2003-12-01 21:35:27 (GMT)
commit1d7323e4e79c3ee3e99004037e5215620aa0b3f8 (patch)
tree7b67d477190e8a32a5c85377f2382b24b6f5bfb8 /Misc
parent85f48e3b9b071150623d9f1af56d7665acd6d225 (diff)
downloadcpython-1d7323e4e79c3ee3e99004037e5215620aa0b3f8.zip
cpython-1d7323e4e79c3ee3e99004037e5215620aa0b3f8.tar.gz
cpython-1d7323e4e79c3ee3e99004037e5215620aa0b3f8.tar.bz2
Py_Finalize(): disabled the second call of cyclic gc, and added extensive
comments about why both calls to cyclic gc here can cause problems. I'll backport to 2.3 maint. Since the calls were introduced in 2.3, that will be the end of it.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS10
1 files changed, 10 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 8f1c1a1..a7cefff 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,16 @@ What's New in Python 2.4 alpha 1?
Core and builtins
-----------------
+- 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.
+
- Removed FutureWarnings related to hex/oct literals and conversions
and left shifts. (Thanks to Kalle Svensson for SF patch 849227.)
This addresses most of the remaining semantic changes promised by