]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #28969: Fixed race condition in C implementation of functools.lru_cache.
authorSerhiy Storchaka <storchaka@gmail.com>
Thu, 12 Jan 2017 16:34:33 +0000 (18:34 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Thu, 12 Jan 2017 16:34:33 +0000 (18:34 +0200)
commit67796521dd22b3008788a75108b45f33d06f85dd
treef737a3560e40ee17de082ff471687956cb4a8904
parent9b8dcc6b1c18d5539735b61004d2e84b3e26cc8f
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