Here is a new answer to the SO question above that fixes this issue: caching - Python functools lru_cache with instance methods: release object - Stack Overflow.
Here is a new answer to the SO question above that fixes this issue: caching - Python functools lru_cache with instance methods: release object - Stack Overflow.