Raymond Hettinger added the comment: Alex, I would like to pass on this feature request and keep the lru_cache API focused on its core task. As it stands now, it was already difficult to fight reentrancy problems.
FWIW, it is very easy to roll your own LRU variants using collections.OrderedDict. Also, if you're inclined, you can post Python recipes and at the ASPN Python website -- that is where I post my LRU variants. ---------- resolution: -> rejected status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28112> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com