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

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Mar 4 01:51:03 CET 2009


Terry Reedy wrote:

> I almost agree, except that the API uses the dict, not list, API.

Yes, as long as the API is dict-like, it really needs to
be thought of as a kind of dict.

Perhaps the terminology should be

   ordereddict -- what we have here

   sorteddict -- hypothetical future type that keeps
                 itself sorted in key order

-- 
Greg


More information about the Python-Dev mailing list