PEP 372 -- Adding an ordered directory to collections

Wolfgang Grafen wolfgang.grafen at ericsson.com
Mon Jun 16 11:25:50 CEST 2008


Armin Ronacher schrieb:
> Other implementations of ordered dicts in various Python projects or
> standalone libraries, that inspired the API proposed here, are:
> 
> - `odict in Babel`_
> - `OrderedDict in Django`_
> - `The odict module`_
> - `ordereddict`_ (a C implementation of the odict module)
> - `StableDict`_
> - `Armin Rigo's OrderedDict`_
> 
> 
> .. _odict in Babel: http://babel.edgewall.org/browser/trunk/babel/util.py?rev=374#L178
> .. _OrderedDict in Django:
>    http://code.djangoproject.com/browser/django/trunk/django/utils/datastructures.py?rev=7140#L53
> .. _The odict module: http://www.voidspace.org.uk/python/odict.html
> .. _ordereddict: http://www.xs4all.nl/~anthon/Python/ordereddict/
> .. _StableDict: http://pypi.python.org/pypi/StableDict/0.2
> .. _Armin Rigo's OrderedDict: http://codespeak.net/svn/user/arigo/hack/pyfuse/OrderedDict.py
I want add to this list my seqdict package, maybe the first 
implementation of an ordered dict in Python?
http://home.arcor.de/wolfgang.grafen/Python/Modules/Modules.html

I have never seen a real world dictionary which wasn't in order, so I 
ever felt the Python dictionary was not complete. I support the idea of 
an ordered dictionary in Python.

Best regards

Wolfgang



More information about the Python-list mailing list