[Python-ideas] OrderedCounter and OrderedDefaultDict

Chris Barker - NOAA Federal chris.barker at noaa.gov
Wed Oct 21 01:19:53 CEST 2015


It seems to me that
>> ordering and default values should be orthogonal aspects of the standard
>> dict.

Exactly -- which makes it a perfect candidate for multiple
inheritance, I.e. "Mixins"

-CHB


More information about the Python-ideas mailing list