summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2017-01-12 17:42:20 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2017-01-12 17:42:20 (GMT)
commit617c7753ce010617b45ae3bfa53a90c07b51510a (patch)
tree974d15dcc99f3504be149746e9b4069e5a2db6cc /Misc
parent798ad2742b6523250e5477557e3cc2588d6e6475 (diff)
parent42e1ea9a10aa6c3df40af3b7561d6251c8e2ac9c (diff)
downloadcpython-617c7753ce010617b45ae3bfa53a90c07b51510a.zip
cpython-617c7753ce010617b45ae3bfa53a90c07b51510a.tar.gz
cpython-617c7753ce010617b45ae3bfa53a90c07b51510a.tar.bz2
Issue #28969: Fixed race condition in C implementation of functools.lru_cache.
KeyError could be raised when cached function with full cache was simultaneously called from differen threads with the same uncached arguments.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index db9243f..8924712 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -212,6 +212,10 @@ Core and Builtins
Library
-------
+- Issue #28969: Fixed race condition in C implementation of functools.lru_cache.
+ KeyError could be raised when cached function with full cache was
+ simultaneously called from differen threads with the same uncached arguments.
+
- Issue #20804: The unittest.mock.sentinel attributes now preserve their
identity when they are copied or pickled.