5 ms·
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?
by thinkpad20 7y ago
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?
- Veedrac 7y agolru_cache doesn't support unhashable types.
- deleted 7y ago[deleted]