Raymond Hettinger <raymond.hettin...@gmail.com> added the comment:
> But if you need lru_cache() why not use lru_cache() > from the stdlib? This gives a foundation for people who want to roll their own variants of the standard library lru_cache(). From here, people can experiment with pickle support, dynamic resizing, invalidation methods, max age parameters, other ways to construct a key, tests for total available memory, direct access to cache entries, or any of the other feature requests we've declined because they weren't appropriate for the standard library. Also, it nicely shows-off the original motivating use case for move_to_end(). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue44782> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com