Changes between Version 1 and Version 2 of Ticket #21351, comment 7
- Timestamp:
- Nov 1, 2013, 3:22:51 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #21351, comment 7
v1 v2 1 1 Replacing `memoize` by `lru_cache` will probably take some work to get right, as `memoize` allows one to provide a dict for caching. `lru_cache` hides the cache from the user, only allowing the instrumented `cache_clear()` for clearing the cache altogether. 2 3 **Update:** after my patch I found that although the cache is now hidden, this 'feature' was not used by Django except for clearing the caches.