[issue40114] support maxsize argument for lru_cache's user_function option

brendon zhang report at bugs.python.org
Mon Mar 30 07:57:05 EDT 2020


brendon zhang <brendon-zhang at hotmail.com> added the comment:

Two concerns is

1. the method signature (inspect.signature(lru_cache)) is not (maxsize=128, typed=False) anymore, and so it is poor documentation.
2. not good reuse of TypeErrors related to incorrect number of inputs / type of inputs.

----------

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


More information about the Python-bugs-list mailing list