[Python-Dev] PEP 372 -- Adding an ordered directory to collections ready for pronouncement

Forest list8a.forest at tibit.com
Thu Mar 5 19:40:12 CET 2009


On Wed, Wed, 4 Mar 2009 13:52:59 -0800, Guido van Rossum wrote:
> On Wed, Mar 4, 2009 at 1:44 PM, Greg Ewing <greg.ewing at canterbury.ac.nz>
> wrote:
>> rdmurray at bitdance.com wrote:
>>
>>> I actually like StableDict best. ?When I hear that I think, "ah, the
>>> key order is stable in the face of insertions, unlike a regular dict".
>>
>> But it still doesn't convey what the ordering actually *is*.
>
> Please, stick with OrderedDict. That's the name used historically by
> most people who independently reinvented this functionality.

It's also what I typed into google and PYPI when I went looking for this
functionality.

+1 for odereddict or odict or OrderedDict.




More information about the Python-Dev mailing list