[issue5397] PEP 372: OrderedDict
Armin Ronacher
report at bugs.python.org
Tue Mar 3 21:08:07 CET 2009
Armin Ronacher <armin.ronacher at 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 <report at bugs.python.org>
<http://bugs.python.org/issue5397>
_______________________________________
More information about the Python-bugs-list
mailing list