summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2017-01-12 16:34:33 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2017-01-12 16:34:33 (GMT)
commit67796521dd22b3008788a75108b45f33d06f85dd (patch)
treef737a3560e40ee17de082ff471687956cb4a8904 /Misc
parent9b8dcc6b1c18d5539735b61004d2e84b3e26cc8f (diff)
downloadcpython-67796521dd22b3008788a75108b45f33d06f85dd.zip
cpython-67796521dd22b3008788a75108b45f33d06f85dd.tar.gz
cpython-67796521dd22b3008788a75108b45f33d06f85dd.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 df9d0dd..e1ae98f 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -13,6 +13,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 #29142: In urllib.request, suffixes in no_proxy environment variable with
leading dots could match related hostnames again (e.g. .b.c matches a.b.c).
Patch by Milan Oberkirch.