summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>2007-12-10 23:58:35 (GMT)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>2007-12-10 23:58:35 (GMT)
commitad8dcd5f1af1b2a6b64040163d011628ab4f7691 (patch)
treed27f5834b89b96f5b10fad0abbb41647026e815e /Misc
parentbd2e0c01938bf3afe3a8805e4ce9245b036fc11b (diff)
downloadcpython-ad8dcd5f1af1b2a6b64040163d011628ab4f7691.zip
cpython-ad8dcd5f1af1b2a6b64040163d011628ab4f7691.tar.gz
cpython-ad8dcd5f1af1b2a6b64040163d011628ab4f7691.tar.bz2
Minor cleanup in the gc module.
Removed gc.DEBUG_OBJECT: there is only one kind of objects. Now gc.DEBUG_COLLECTABLE or gc.DEBUG_UNCOLLECTABLE can be used alone to print the corresponding list of objects. Also removed a footnote about version 2.2, and a comment explaining some deleted code.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 61e150c..bd5f825 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,10 @@ What's New in Python 3.0a3?
Core and Builtins
-----------------
+- Constants gc.DEBUG_OBJECT and gc.DEBUG_INSTANCE have been removed from the
+ gc module; gc.DEBUG_COLLECTABLE or gc.DEBUG_UNCOLLECTABLE are now enough to
+ print the corresponding list of objects considered by the garbage collector.
+
- Issue #1580: New free format floating point representation based on
"Floating-Point Printer Sample Code", by Robert G. Burger. For example
repr(11./5) now returns '2.2' instead of '2.2000000000000002'.