[Python-3000] ordered dict for p3k collections?
Nicko van Someren
nicko at nicko.org
Fri Sep 14 19:11:08 CEST 2007
On 11 Sep 2007, at 15:06, Mark Summerfield wrote:
> Is there any chance that an ordered dict will be added to Python 3's
> library?
It would make sense, since one of the primary justifications for the
new metaclass system (PEP 3115) is to allow the metaclass to provide
order-preserving dictionaries to record the order in which members
are defined.
> I think other people must find such things useful. There are three
> implementations on the Python Cookbook site, and one on PyPI, all in
> pure Python (plus I have my own implementation, also pure Python).
Is there much commonality between the interfaces for these? I'm sure
there are various different opinions as to the exact nature of the
API, particularly around any facilities for re-ordering, slicing etc.
Cheers,
Nicko
More information about the Python-3000
mailing list