diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2017-01-12 16:34:33 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2017-01-12 16:34:33 (GMT) |
commit | 67796521dd22b3008788a75108b45f33d06f85dd (patch) | |
tree | f737a3560e40ee17de082ff471687956cb4a8904 /Misc | |
parent | 9b8dcc6b1c18d5539735b61004d2e84b3e26cc8f (diff) | |
download | cpython-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/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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. |