]> granicus.if.org Git - python/commit
Issue #28969: Fixed race condition in C implementation of functools.lru_cache.
authorSerhiy Storchaka <storchaka@gmail.com>
Thu, 12 Jan 2017 17:12:21 +0000 (19:12 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Thu, 12 Jan 2017 17:12:21 +0000 (19:12 +0200)
commit42e1ea9a10aa6c3df40af3b7561d6251c8e2ac9c
treed54140f730a38805fa55a7a5cc90b0e894d91318
parent12c4aba1a0fbd934a66d6b97c29c36d7de14e755
parent67796521dd22b3008788a75108b45f33d06f85dd
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.
Include/dictobject.h
Lib/test/test_functools.py
Misc/NEWS
Modules/_functoolsmodule.c
Objects/dictobject.c