diff options
author | Raymond Hettinger <python@rcn.com> | 2010-09-12 04:12:42 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2010-09-12 04:12:42 (GMT) |
commit | fa11db0a02f22f8141206102efc21b125989364d (patch) | |
tree | b5418b9a3f188eeefdd1d9314881d59842ee713e /Misc/NEWS | |
parent | 9be0b2e3122b8cb3078367e667bb6ab58cd81610 (diff) | |
download | cpython-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/NEWS | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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. |