summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2010-09-12 02:11:45 (GMT)
committerRaymond Hettinger <python@rcn.com>2010-09-12 02:11:45 (GMT)
commit2039753a9ab9d41375ba17877e231e8d53e17749 (patch)
tree7c4f94baaccf73c42db3720fb86de128642cabfa /Misc
parenta1f74816f52707b5d8ea2735f4da22f8dc9396fc (diff)
downloadcpython-2039753a9ab9d41375ba17877e231e8d53e17749.zip
cpython-2039753a9ab9d41375ba17877e231e8d53e17749.tar.gz
cpython-2039753a9ab9d41375ba17877e231e8d53e17749.tar.bz2
Issue #9825: Remove __del__() from OrderedDict.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS7
1 files changed, 7 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index b65e860..a31d95a 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -43,6 +43,13 @@ Core and Builtins
Library
-------
+- Issue #9825: removed __del__ from the definition of collections.OrderedDict.
+ This prevents user-created self-referencing ordered dictionaries from
+ becoming permanently uncollectable GC garbage. The downside is that
+ removing __del__ means that the internal doubly-linked list has to wait for
+ GC collection rather than freeing memory immediately when the refcnt drops
+ to zero.
+
- Issue #9816: random.Random.jumpahead(n) did not produce a sufficiently
different internal state for small values of n. Fixed by salting the
value.