Armin Ronacher <armin.ronac...@active-4.com> added the comment: Please no. We just decided to *not* extend the API. The PEP originally had a well designed list of dict API extensions that already provided exactly that. If we really want to provide access to that, we can roll back to where we came from.
I don't think implementing an LRUCache on an ordered dict is a good idea. Especially because LRU caches are a shared resource and should be thread safe because of that. Which the ordered dict is not. _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5397> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com