[issue40114] support maxsize argument for lru_cache's user_function option
Raymond Hettinger
report at bugs.python.org
Mon Mar 30 14:51:09 EDT 2020
Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:
Since the current signature allows *maxsize* and *typed* to be either positional or keyword arguments, we couldn't do this cleanly the way dataclasses did.
The code in the PR is valiant attempt but is way too tricky for my tastes -- we would likely regret going down this path.
----------
nosy: +eric.smith
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40114>
_______________________________________
More information about the Python-bugs-list
mailing list