]> 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:42:20 +0000 (19:42 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Thu, 12 Jan 2017 17:42:20 +0000 (19:42 +0200)
commit617c7753ce010617b45ae3bfa53a90c07b51510a
tree974d15dcc99f3504be149746e9b4069e5a2db6cc
parent798ad2742b6523250e5477557e3cc2588d6e6475
parent42e1ea9a10aa6c3df40af3b7561d6251c8e2ac9c
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