summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2010-09-12 04:12:42 (GMT)
committerRaymond Hettinger <python@rcn.com>2010-09-12 04:12:42 (GMT)
commitfa11db0a02f22f8141206102efc21b125989364d (patch)
treeb5418b9a3f188eeefdd1d9314881d59842ee713e /Misc/NEWS
parent9be0b2e3122b8cb3078367e667bb6ab58cd81610 (diff)
downloadcpython-fa11db0a02f22f8141206102efc21b125989364d.zip
cpython-fa11db0a02f22f8141206102efc21b125989364d.tar.gz
cpython-fa11db0a02f22f8141206102efc21b125989364d.tar.bz2
Issue #9825: Replace OrderedDict.__del__() with weakrefs.
Diffstat (limited to 'Misc/NEWS')
-rw-r--r--Misc/NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 225531b..ab4a06f 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -32,6 +32,12 @@ Core and Builtins
Library
-------
+- Issue #9825: Using __del__ in the definition of collections.OrderedDict made
+ it possible for the user to create self-referencing ordered dictionaries
+ which become permanently uncollectable GC garbage. Reinstated the Py3.1
+ approach of using weakref proxies so that reference cycles never get created
+ in the first place.
+
- Issue #9579, #9580: Fix os.confstr() for value longer than 255 bytes and
encode the value with filesystem encoding and surrogateescape (instead of
utf-8 in strict mode). Patch written by David Watson.