[issue21537] functools.lru_cache does not cache exceptions
Stephen Paul Chappell
report at bugs.python.org
Mon May 19 20:58:59 CEST 2014
New submission from Stephen Paul Chappell:
While examining the implementation for lru_cache, it came to my attention that the wrappers ignore the possibility of exceptions. Is this on purpose? If the cache is designed to reduce the overhead of running certain functions, it seems like lru_cache should handle returned values along with raised exceptions.
----------
components: Library (Lib)
messages: 218808
nosy: Zero
priority: normal
severity: normal
status: open
title: functools.lru_cache does not cache exceptions
type: enhancement
versions: Python 3.4
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21537>
_______________________________________
More information about the Python-bugs-list
mailing list