[issue13177] Avoid chained exceptions in lru_cache

Raymond Hettinger report at bugs.python.org
Fri Oct 14 16:25:35 CEST 2011


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

Another issue is that I want to keep the related accesses to the OrderedDict inside the "with lock" in order to avoid a race condition between the testing-for-membership step and the retrieve-the-cached-value step.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13177>
_______________________________________


More information about the Python-bugs-list mailing list