[issue41280] lru_cache on 0-arity functions should default to maxsize=None

Rémi Lapeyre report at bugs.python.org
Sat Jul 11 19:34:58 EDT 2020


Rémi Lapeyre <remi.lapeyre at henki.fr> added the comment:

Hi Tom Forbes, I don't think there is a way to be sure that's the function does not take any argument. Are you worried about the lost memory when maxsize is not set?

----------
nosy: +remi.lapeyre

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


More information about the Python-bugs-list mailing list