summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2012-03-01 15:26:35 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2012-03-01 15:26:35 (GMT)
commitbbe2f60b3c19ecaa02ca07be14474eaacfcb59a0 (patch)
tree768a0d9c5d1402c0d91dcaf9597e83adea6d892a /Misc/NEWS
parenteb977dac9cfd590982d08d1a9f7bae58498648ca (diff)
downloadcpython-bbe2f60b3c19ecaa02ca07be14474eaacfcb59a0.zip
cpython-bbe2f60b3c19ecaa02ca07be14474eaacfcb59a0.tar.gz
cpython-bbe2f60b3c19ecaa02ca07be14474eaacfcb59a0.tar.bz2
Issue #14159: Fix the len() of weak containers (WeakSet, WeakKeyDictionary, WeakValueDictionary) to return a better approximation when some objects are dead or dying.
Moreover, the implementation is now O(1) rather than O(n). Thanks to Yury Selivanov for reporting.
Diffstat (limited to 'Misc/NEWS')
-rw-r--r--Misc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index d8dbe79..c1385f3 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -127,6 +127,11 @@ Core and Builtins
Library
-------
+- Issue #14159: Fix the len() of weak containers (WeakSet, WeakKeyDictionary,
+ WeakValueDictionary) to return a better approximation when some objects
+ are dead or dying. Moreover, the implementation is now O(1) rather than
+ O(n).
+
- Issue #13125: Silence spurious test_lib2to3 output when in non-verbose mode.
Patch by Mikhail Novikov.