[issue33827] Generators with lru_cache can be non-intuituve

Raymond Hettinger report at bugs.python.org
Tue Jun 12 01:25:46 EDT 2018


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

Serhiy is correct.  In general, there is no way to detect when someone is caching something that should be cached (i.e. impure functions).

----------
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33827>
_______________________________________


More information about the Python-bugs-list mailing list