[issue33774] Document that @lru_cache caches based on exactly how the function arguments are specified

Raymond Hettinger report at bugs.python.org
Tue Jun 5 21:07:13 EDT 2018


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

Sure, I can add a line mentioning that distinct argument patterns may be considered as distinct cache entries even though they otherwise seem to be equivalent calls.  That will just be a general statement though. 
The specific details are implementation dependent, have changed over time, and may change again in the future.

----------
assignee: docs at python -> rhettinger
priority: normal -> low

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


More information about the Python-bugs-list mailing list