diff options
author | Raymond Hettinger <python@rcn.com> | 2010-09-12 02:11:45 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2010-09-12 02:11:45 (GMT) |
commit | 2039753a9ab9d41375ba17877e231e8d53e17749 (patch) | |
tree | 7c4f94baaccf73c42db3720fb86de128642cabfa /Misc | |
parent | a1f74816f52707b5d8ea2735f4da22f8dc9396fc (diff) | |
download | cpython-2039753a9ab9d41375ba17877e231e8d53e17749.zip cpython-2039753a9ab9d41375ba17877e231e8d53e17749.tar.gz cpython-2039753a9ab9d41375ba17877e231e8d53e17749.tar.bz2 |
Issue #9825: Remove __del__() from OrderedDict.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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. |