Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
thinkpad20
· 7y ago · 0 comments
Can you really do it in python with an arbitrary function? What if your function takes a dictionary, set, or some other unhashable type as an argument?
Comments
[–]
Veedrac
7y ago
lru_cache doesn't support unhashable types.