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

Benjamin Peterson benjamin at python.org
Mon Mar 2 23:03:56 CET 2009


2009/3/2 Raymond Hettinger <python at rcn.com>:
> My preference is OrderedDict.
> That says that it is a pure python class like Counter, UserDict, UserList,
> MutableMapping and other collections classes.

I don't understand why implementation language should have any
significance in naming. Classes should be able to be implemented in
any language transparently.

> It is clear and explicit in its intention and doesn't make you try to
> remember what the o in odict stands for.

I agree and that's why I propose "ordereddict"


-- 
Regards,
Benjamin


More information about the Python-Dev mailing list