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 <rep...@bugs.python.org>
<http://bugs.python.org/issue21537>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to