Y
Hacker News
new
|
ask
|
show
|
jobs
by
klyrs
1057 days ago
functools.cache is pretty new; py3.8 is still supported for another year and a bit.
1 comments
xavdid
1057 days ago
functools.cache is basically `functools.lru_cache(maxsize=None)`. `lru_cache` was added in py3.3, which is widely available.
link