Raymond Hettinger <raymond.hettin...@gmail.com> added the comment:
What is the given example trying to accomplish? It looks like every possible input list would be cached using just the first element of the list. Would cached_func([10, 20, 30]) and cached_func([10, 11, 12]) return the same sum? If not, why would that be desireable? ---------- assignee: -> rhettinger _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue41220> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com