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

Antoine Pitrou solipsis at pitrou.net
Mon Mar 2 23:46:39 CET 2009


Raymond Hettinger <python <at> rcn.com> writes:
> 
> [Nick Coghlan]
> > The examples in the PEP used 'odict' (until recently), but the patch was
> > for OrderedDict.
> 
> As an experiment, try walking down the hall asking a few programmers who
aren't in this conversion what they
> think 
> collections.odict() is?

I second that odict is too terse, and it's also a recipe for subtle typos.
I think that both ordereddict and OrderedDict can't go wrong.

Regards

Antoine.




More information about the Python-Dev mailing list