summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-11-03 19:57:21 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-11-03 19:57:21 (GMT)
commit169ded0d6819f761def726deda19a35c91116674 (patch)
treedee35300f23eeb688ab1c132d9e8afcf98784362 /Misc
parent7533587d4363d0841232f58d61adc15fa32b4825 (diff)
downloadcpython-169ded0d6819f761def726deda19a35c91116674.zip
cpython-169ded0d6819f761def726deda19a35c91116674.tar.gz
cpython-169ded0d6819f761def726deda19a35c91116674.tar.bz2
Finish SF patch 477059: __del__ on new classes vs. GC.
Just doc and NEWS here, about the change in gc.garbage meaning.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 02c4928..c0f09ae 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -32,6 +32,11 @@ Core and builtins
Extension modules
+- By default, the gc.garbage list now contains only those instances in
+ unreachable cycles that have __del__ methods; in 2.1 it contained all
+ instances in unreachable cycles. "Instances" here has been generalized
+ to include instances of both new-style and old-style classes.
+
- The socket module defines a new method for socket objects,
sendall(). This is like send() but may make multiple calls to
send() until all data has been sent. Also, the socket function has